-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/ext/oci8/tests/
File Upload :
Current File : //usr/src/php/ext/oci8/tests/coll_008.phpt

--TEST--
ocicollassign()
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false);  // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
?> 
--FILE--
<?php

require dirname(__FILE__)."/connect.inc";
require dirname(__FILE__)."/create_type.inc";

$coll1 = ocinewcollection($c, $type_name);
$coll2 = ocinewcollection($c, $type_name);

var_dump($coll1->append(1));

var_dump($coll2->assign($coll1));

var_dump($coll2->getElem(0));

echo "Done\n";

require dirname(__FILE__)."/drop_type.inc";

?>
--EXPECT--
bool(true)
bool(true)
float(1)
Done

Copyright © 2017 || Recoded By Mr.Bumblebee