mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
259 lines
4.7 KiB
Plaintext
259 lines
4.7 KiB
Plaintext
|
--TEST--
|
||
|
Test OCI8 LOB & Collection Class Reflection
|
||
|
--SKIPIF--
|
||
|
<?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
reflection::export(new reflectionclass('OCI-Lob'));
|
||
|
reflection::export(new reflectionclass('OCI-Collection'));
|
||
|
|
||
|
?>
|
||
|
===DONE===
|
||
|
<?php exit(0); ?>
|
||
|
--EXPECTF--
|
||
|
Class [ <internal:oci8> class OCI-Lob ] {
|
||
|
|
||
|
- Constants [0] {
|
||
|
}
|
||
|
|
||
|
- Static properties [0] {
|
||
|
}
|
||
|
|
||
|
- Static methods [0] {
|
||
|
}
|
||
|
|
||
|
- Properties [0] {
|
||
|
}
|
||
|
|
||
|
- Methods [22] {
|
||
|
Method [ <internal:oci8> public method load ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method tell ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method truncate ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <optional> $length ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method erase ] {
|
||
|
|
||
|
- Parameters [2] {
|
||
|
Parameter #0 [ <optional> $offset ]
|
||
|
Parameter #1 [ <optional> $length ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method flush ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <optional> $flag ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method setbuffering ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $mode ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method getbuffering ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method rewind ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method read ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $length ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method eof ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method seek ] {
|
||
|
|
||
|
- Parameters [2] {
|
||
|
Parameter #0 [ <required> $offset ]
|
||
|
Parameter #1 [ <optional> $whence ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method write ] {
|
||
|
|
||
|
- Parameters [2] {
|
||
|
Parameter #0 [ <required> $string ]
|
||
|
Parameter #1 [ <optional> $length ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method append ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $lob_descriptor_from ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method size ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method writetofile ] {
|
||
|
|
||
|
- Parameters [3] {
|
||
|
Parameter #0 [ <required> $filename ]
|
||
|
Parameter #1 [ <optional> $start ]
|
||
|
Parameter #2 [ <optional> $length ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method export ] {
|
||
|
|
||
|
- Parameters [3] {
|
||
|
Parameter #0 [ <required> $filename ]
|
||
|
Parameter #1 [ <optional> $start ]
|
||
|
Parameter #2 [ <optional> $length ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method import ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $filename ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method writetemporary ] {
|
||
|
|
||
|
- Parameters [2] {
|
||
|
Parameter #0 [ <required> $data ]
|
||
|
Parameter #1 [ <optional> $type ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method close ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method save ] {
|
||
|
|
||
|
- Parameters [2] {
|
||
|
Parameter #0 [ <required> $data ]
|
||
|
Parameter #1 [ <optional> $offset ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method savefile ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $filename ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method free ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Class [ <internal:oci8> class OCI-Collection ] {
|
||
|
|
||
|
- Constants [0] {
|
||
|
}
|
||
|
|
||
|
- Static properties [0] {
|
||
|
}
|
||
|
|
||
|
- Static methods [0] {
|
||
|
}
|
||
|
|
||
|
- Properties [0] {
|
||
|
}
|
||
|
|
||
|
- Methods [8] {
|
||
|
Method [ <internal:oci8> public method append ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $value ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method getelem ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $index ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method assignelem ] {
|
||
|
|
||
|
- Parameters [2] {
|
||
|
Parameter #0 [ <required> $index ]
|
||
|
Parameter #1 [ <required> $value ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method assign ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $collection_from ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method size ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method max ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method trim ] {
|
||
|
|
||
|
- Parameters [1] {
|
||
|
Parameter #0 [ <required> $number ]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Method [ <internal:oci8> public method free ] {
|
||
|
|
||
|
- Parameters [0] {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
===DONE===
|