reflection2.phpt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. --TEST--
  2. Test OCI8 LOB & Collection Class Reflection
  3. --SKIPIF--
  4. <?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?>
  5. --FILE--
  6. <?php
  7. reflection::export(new reflectionclass('OCI-Lob'));
  8. reflection::export(new reflectionclass('OCI-Collection'));
  9. ?>
  10. ===DONE===
  11. <?php exit(0); ?>
  12. --EXPECTF--
  13. Class [ <internal:oci8> class OCI-Lob ] {
  14. - Constants [0] {
  15. }
  16. - Static properties [0] {
  17. }
  18. - Static methods [0] {
  19. }
  20. - Properties [0] {
  21. }
  22. - Methods [22] {
  23. Method [ <internal%s> public method load ] {
  24. - Parameters [0] {
  25. }
  26. }
  27. Method [ <internal%s> public method tell ] {
  28. - Parameters [0] {
  29. }
  30. }
  31. Method [ <internal%s> public method truncate ] {
  32. - Parameters [1] {
  33. Parameter #0 [ <optional> $length ]
  34. }
  35. }
  36. Method [ <internal%s> public method erase ] {
  37. - Parameters [2] {
  38. Parameter #0 [ <optional> $offset ]
  39. Parameter #1 [ <optional> $length ]
  40. }
  41. }
  42. Method [ <internal%s> public method flush ] {
  43. - Parameters [1] {
  44. Parameter #0 [ <optional> $flag ]
  45. }
  46. }
  47. Method [ <internal%s> public method setbuffering ] {
  48. - Parameters [1] {
  49. Parameter #0 [ <required> $mode ]
  50. }
  51. }
  52. Method [ <internal%s> public method getbuffering ] {
  53. - Parameters [0] {
  54. }
  55. }
  56. Method [ <internal%s> public method rewind ] {
  57. - Parameters [0] {
  58. }
  59. }
  60. Method [ <internal%s> public method read ] {
  61. - Parameters [1] {
  62. Parameter #0 [ <required> $length ]
  63. }
  64. }
  65. Method [ <internal%s> public method eof ] {
  66. - Parameters [0] {
  67. }
  68. }
  69. Method [ <internal%s> public method seek ] {
  70. - Parameters [2] {
  71. Parameter #0 [ <required> $offset ]
  72. Parameter #1 [ <optional> $whence ]
  73. }
  74. }
  75. Method [ <internal%s> public method write ] {
  76. - Parameters [2] {
  77. Parameter #0 [ <required> $string ]
  78. Parameter #1 [ <optional> $length ]
  79. }
  80. }
  81. Method [ <internal%s> public method append ] {
  82. - Parameters [1] {
  83. Parameter #0 [ <required> $lob_descriptor_from ]
  84. }
  85. }
  86. Method [ <internal%s> public method size ] {
  87. - Parameters [0] {
  88. }
  89. }
  90. Method [ <internal%s> public method writetofile ] {
  91. - Parameters [3] {
  92. Parameter #0 [ <required> $filename ]
  93. Parameter #1 [ <optional> $start ]
  94. Parameter #2 [ <optional> $length ]
  95. }
  96. }
  97. Method [ <internal%s> public method export ] {
  98. - Parameters [3] {
  99. Parameter #0 [ <required> $filename ]
  100. Parameter #1 [ <optional> $start ]
  101. Parameter #2 [ <optional> $length ]
  102. }
  103. }
  104. Method [ <internal%s> public method import ] {
  105. - Parameters [1] {
  106. Parameter #0 [ <required> $filename ]
  107. }
  108. }
  109. Method [ <internal%s> public method writetemporary ] {
  110. - Parameters [2] {
  111. Parameter #0 [ <required> $data ]
  112. Parameter #1 [ <optional> $type ]
  113. }
  114. }
  115. Method [ <internal%s> public method close ] {
  116. - Parameters [0] {
  117. }
  118. }
  119. Method [ <internal%s> public method save ] {
  120. - Parameters [2] {
  121. Parameter #0 [ <required> $data ]
  122. Parameter #1 [ <optional> $offset ]
  123. }
  124. }
  125. Method [ <internal%s> public method savefile ] {
  126. - Parameters [1] {
  127. Parameter #0 [ <required> $filename ]
  128. }
  129. }
  130. Method [ <internal%s> public method free ] {
  131. - Parameters [0] {
  132. }
  133. }
  134. }
  135. }
  136. Class [ <internal%s> class OCI-Collection ] {
  137. - Constants [0] {
  138. }
  139. - Static properties [0] {
  140. }
  141. - Static methods [0] {
  142. }
  143. - Properties [0] {
  144. }
  145. - Methods [8] {
  146. Method [ <internal%s> public method append ] {
  147. - Parameters [1] {
  148. Parameter #0 [ <required> $value ]
  149. }
  150. }
  151. Method [ <internal%s> public method getelem ] {
  152. - Parameters [1] {
  153. Parameter #0 [ <required> $index ]
  154. }
  155. }
  156. Method [ <internal%s> public method assignelem ] {
  157. - Parameters [2] {
  158. Parameter #0 [ <required> $index ]
  159. Parameter #1 [ <required> $value ]
  160. }
  161. }
  162. Method [ <internal%s> public method assign ] {
  163. - Parameters [1] {
  164. Parameter #0 [ <required> $collection_from ]
  165. }
  166. }
  167. Method [ <internal%s> public method size ] {
  168. - Parameters [0] {
  169. }
  170. }
  171. Method [ <internal%s> public method max ] {
  172. - Parameters [0] {
  173. }
  174. }
  175. Method [ <internal%s> public method trim ] {
  176. - Parameters [1] {
  177. Parameter #0 [ <required> $number ]
  178. }
  179. }
  180. Method [ <internal%s> public method free ] {
  181. - Parameters [0] {
  182. }
  183. }
  184. }
  185. }
  186. ===DONE===