diff options
Diffstat (limited to 'ext/oci8/tests/coll_011.phpt')
-rw-r--r-- | ext/oci8/tests/coll_011.phpt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/oci8/tests/coll_011.phpt b/ext/oci8/tests/coll_011.phpt index 13c4613b00..6af52e9a3c 100644 --- a/ext/oci8/tests/coll_011.phpt +++ b/ext/oci8/tests/coll_011.phpt @@ -11,20 +11,20 @@ require(__DIR__.'/skipif.inc'); require __DIR__."/connect.inc"; $ora_sql = "DROP TYPE - ".$type_name." - "; + ".$type_name." + "; -$statement = OCIParse($c,$ora_sql); -@OCIExecute($statement); +$statement = oci_parse($c,$ora_sql); +@oci_execute($statement); $ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)"; -$statement = OCIParse($c,$ora_sql); -OCIExecute($statement); +$statement = oci_parse($c,$ora_sql); +oci_execute($statement); -$coll1 = ocinewcollection($c, $type_name); -$coll2 = ocinewcollection($c, $type_name); +$coll1 = oci_new_collection($c, $type_name); +$coll2 = oci_new_collection($c, $type_name); var_dump($coll1->append("string")); var_dump($coll1->append("string")); |