--TEST-- various oci_lob_write() error messages --SKIPIF-- true, 'timesten' => false); // test runs on these DBs require(__DIR__.'/skipif.inc'); ?> --FILE-- save(""); oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB); oci_execute($statement, OCI_DEFAULT); var_dump($blob->save("")); var_dump($blob->save("data", 100)); require __DIR__.'/drop_table.inc'; echo "Done\n"; ?> --EXPECTF-- Warning: OCI-Lob::save(): OCI_INVALID_HANDLE in %s on line %d bool(true) bool(true) Done