--TEST-- Null bytes in SQL statements --SKIPIF-- --INI-- display_errors = On error_reporting = E_WARNING --FILE-- ===DONE=== --EXPECTF-- Test 1: Valid use of a null byte array(1) { ["DUMMY"]=> array(1) { [0]=> string(1) "X" } } Test 2: Invalid use of a null byte Warning: oci_execute(): ORA-00942: %s in %snull_byte_2.php on line %d Test 3: Using a null byte in a bind variable name Warning: oci_bind_by_name(): ORA-01036: %s in %snull_byte_2.php on line %d Warning: oci_execute(): ORA-01008: %s in %snull_byte_2.php on line %d Test 4: Using a null byte in a bind variable value causing WHERE clause to fail array(1) { ["DUMMY"]=> array(0) { } } ===DONE===