--TEST-- Test CLOB->write() for multiple inserts --EXTENSIONS-- oci8 --SKIPIF-- true, 'timesten' => false); // test runs on these DBs require __DIR__.'/skipif.inc'; ?> --FILE-- write("clob test 1")); oci_execute($s, OCI_DEFAULT); var_dump($clob->write("clob test 2")); oci_execute($s, OCI_DEFAULT); var_dump($clob->write("clob test 3")); $s = oci_parse($c,"select clob from ".$schema.$table_name); var_dump(oci_execute($s)); oci_fetch_all($s, $res); var_dump($res); require __DIR__.'/drop_table.inc'; echo "Done\n"; ?> --EXPECT-- Test 1: CLOB int(11) int(11) int(11) bool(true) array(1) { ["CLOB"]=> array(3) { [0]=> string(11) "clob test 1" [1]=> string(22) " clob test 2" [2]=> string(33) " clob test 3" } } Done