--TEST-- Protect against null bytes in LOB filenames (http://news.php.net/php.internals/50202) --SKIPIF-- --INI-- display_errors = On error_reporting = E_WARNING --FILE-- savefile("/tmp/abc\0def"); var_dump($r); echo "Test 2: Export\n"; $r = $lob->export("/tmp/abc\0def"); var_dump($r); ?> ===DONE=== --EXPECTF-- Test 1: Import Warning: OCI-Lob::savefile(): Filename cannot contain null bytes in %snull_byte_1.php on line %d bool(false) Test 2: Export Warning: OCI-Lob::export(): Filename cannot contain null bytes in %snull_byte_1.php on line %d bool(false) ===DONE===