1--TEST-- 2oci_new_collection() 3--EXTENSIONS-- 4oci8 5--SKIPIF-- 6<?php 7$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs 8require(__DIR__.'/skipif.inc'); 9?> 10--FILE-- 11<?php 12 13require __DIR__."/connect.inc"; 14require __DIR__."/create_type.inc"; 15 16var_dump(oci_new_collection($c, $type_name)); 17var_dump(oci_new_collection($c, "NONEXISTENT")); 18 19echo "Done\n"; 20 21require __DIR__."/drop_type.inc"; 22 23?> 24--EXPECTF-- 25object(OCICollection)#%d (1) { 26 ["collection"]=> 27 resource(%d) of type (oci8 collection) 28} 29 30Warning: oci_new_collection(): OCI-22303: type ""."NONEXISTENT" not found in %s on line %d 31bool(false) 32Done 33