summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/coll_011.phpt
diff options
context:
space:
mode:
authorJens de Nies <j.de.nies@protonmail.com>2020-05-17 23:48:01 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-06-08 00:23:38 +0200
commit45475c2e216f1b4ee2c543109695ec1b264156b6 (patch)
treeef25bd749cf05c229751c4464fdf17ca216641e2 /ext/oci8/tests/coll_011.phpt
parent367c55ff1d3d14893bc319bff723d74f75486756 (diff)
downloadphp-git-45475c2e216f1b4ee2c543109695ec1b264156b6.tar.gz
Deprecate function aliases in oci8 extension.
Closes GH-5589
Diffstat (limited to 'ext/oci8/tests/coll_011.phpt')
-rw-r--r--ext/oci8/tests/coll_011.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/oci8/tests/coll_011.phpt b/ext/oci8/tests/coll_011.phpt
index 562de0889f..6af52e9a3c 100644
--- a/ext/oci8/tests/coll_011.phpt
+++ b/ext/oci8/tests/coll_011.phpt
@@ -14,17 +14,17 @@ $ora_sql = "DROP TYPE
".$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"));