--TEST-- ocinewcollection() + free() --SKIPIF-- --ENV-- return " ORACLE_HOME=".(isset($_ENV['ORACLE_HOME']) ? $_ENV['ORACLE_HOME'] : '')." NLS_LANG=".(isset($_ENV['NLS_LANG']) ? $_ENV['NLS_LANG'] : '')." TNS_ADMIN=".(isset($_ENV['TNS_ADMIN']) ? $_ENV['TNS_ADMIN'] : '')." "; --FILE-- --EXPECTF-- object(OCI-Collection)#%d (1) { ["collection"]=> resource(%d) of type (oci8 collection) } bool(true) Warning: oci_collection_size(): %d is not a valid oci8 collection resource in %s on line %d bool(false) Done