Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / php / ext / oci8 / tests / reflection2.phpt
blob9e63db1d636dfdff4343ac1e156db7c3025a0e55
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
8 reflection::export(new reflectionclass('OCI-Lob'));
9 reflection::export(new reflectionclass('OCI-Collection'));
12 ===DONE===
13 <?php exit(0); ?>
14 --EXPECTF--
15 Class [ <internal:oci8> class OCI-Lob ] {
17   - Constants [0] {
18   }
20   - Static properties [0] {
21   }
23   - Static methods [0] {
24   }
26   - Properties [0] {
27   }
29   - Methods [22] {
30     Method [ <internal%s> public method load ] {
32       - Parameters [0] {
33       }
34     }
36     Method [ <internal%s> public method tell ] {
38       - Parameters [0] {
39       }
40     }
42     Method [ <internal%s> public method truncate ] {
44       - Parameters [1] {
45         Parameter #0 [ <optional> $length ]
46       }
47     }
49     Method [ <internal%s> public method erase ] {
51       - Parameters [2] {
52         Parameter #0 [ <optional> $offset ]
53         Parameter #1 [ <optional> $length ]
54       }
55     }
57     Method [ <internal%s> public method flush ] {
59       - Parameters [1] {
60         Parameter #0 [ <optional> $flag ]
61       }
62     }
64     Method [ <internal%s> public method setbuffering ] {
66       - Parameters [1] {
67         Parameter #0 [ <required> $mode ]
68       }
69     }
71     Method [ <internal%s> public method getbuffering ] {
73       - Parameters [0] {
74       }
75     }
77     Method [ <internal%s> public method rewind ] {
79       - Parameters [0] {
80       }
81     }
83     Method [ <internal%s> public method read ] {
85       - Parameters [1] {
86         Parameter #0 [ <required> $length ]
87       }
88     }
90     Method [ <internal%s> public method eof ] {
92       - Parameters [0] {
93       }
94     }
96     Method [ <internal%s> public method seek ] {
98       - Parameters [2] {
99         Parameter #0 [ <required> $offset ]
100         Parameter #1 [ <optional> $whence ]
101       }
102     }
104     Method [ <internal%s> public method write ] {
106       - Parameters [2] {
107         Parameter #0 [ <required> $string ]
108         Parameter #1 [ <optional> $length ]
109       }
110     }
112     Method [ <internal%s> public method append ] {
114       - Parameters [1] {
115         Parameter #0 [ <required> $lob_descriptor_from ]
116       }
117     }
119     Method [ <internal%s> public method size ] {
121       - Parameters [0] {
122       }
123     }
125     Method [ <internal%s> public method writetofile ] {
127       - Parameters [3] {
128         Parameter #0 [ <required> $filename ]
129         Parameter #1 [ <optional> $start ]
130         Parameter #2 [ <optional> $length ]
131       }
132     }
134     Method [ <internal%s> public method export ] {
136       - Parameters [3] {
137         Parameter #0 [ <required> $filename ]
138         Parameter #1 [ <optional> $start ]
139         Parameter #2 [ <optional> $length ]
140       }
141     }
143     Method [ <internal%s> public method import ] {
145       - Parameters [1] {
146         Parameter #0 [ <required> $filename ]
147       }
148     }
150     Method [ <internal%s> public method writetemporary ] {
152       - Parameters [2] {
153         Parameter #0 [ <required> $data ]
154         Parameter #1 [ <optional> $type ]
155       }
156     }
158     Method [ <internal%s> public method close ] {
160       - Parameters [0] {
161       }
162     }
164     Method [ <internal%s> public method save ] {
166       - Parameters [2] {
167         Parameter #0 [ <required> $data ]
168         Parameter #1 [ <optional> $offset ]
169       }
170     }
172     Method [ <internal%s> public method savefile ] {
174       - Parameters [1] {
175         Parameter #0 [ <required> $filename ]
176       }
177     }
179     Method [ <internal%s> public method free ] {
181       - Parameters [0] {
182       }
183     }
184   }
187 Class [ <internal%s> class OCI-Collection ] {
189   - Constants [0] {
190   }
192   - Static properties [0] {
193   }
195   - Static methods [0] {
196   }
198   - Properties [0] {
199   }
201   - Methods [8] {
202     Method [ <internal%s> public method append ] {
204       - Parameters [1] {
205         Parameter #0 [ <required> $value ]
206       }
207     }
209     Method [ <internal%s> public method getelem ] {
211       - Parameters [1] {
212         Parameter #0 [ <required> $index ]
213       }
214     }
216     Method [ <internal%s> public method assignelem ] {
218       - Parameters [2] {
219         Parameter #0 [ <required> $index ]
220         Parameter #1 [ <required> $value ]
221       }
222     }
224     Method [ <internal%s> public method assign ] {
226       - Parameters [1] {
227         Parameter #0 [ <required> $collection_from ]
228       }
229     }
231     Method [ <internal%s> public method size ] {
233       - Parameters [0] {
234       }
235     }
237     Method [ <internal%s> public method max ] {
239       - Parameters [0] {
240       }
241     }
243     Method [ <internal%s> public method trim ] {
245       - Parameters [1] {
246         Parameter #0 [ <required> $number ]
247       }
248     }
250     Method [ <internal%s> public method free ] {
252       - Parameters [0] {
253       }
254     }
255   }
258 ===DONE===