--TEST-- lob buffering - 2 --EXTENSIONS-- oci8 --SKIPIF-- true, 'timesten' => false); // test runs on these DBs require(__DIR__.'/skipif.inc'); ?> --FILE-- getBuffering()); var_dump($blob->setBuffering(false)); var_dump($blob->setBuffering(false)); var_dump($blob->setBuffering(true)); var_dump($blob->setBuffering(true)); var_dump($blob->flush()); var_dump($blob->flush(0)); var_dump($blob->flush(-1)); oci_commit($c); require __DIR__.'/drop_table.inc'; echo "Done\n"; ?> --EXPECTF-- bool(false) bool(true) bool(true) bool(true) bool(true) bool(true) bool(true) Warning: OCILob::flush(): Invalid flag value: -1 in %s on line %d bool(false) Done