--TEST-- Bug #72524 (Binding null values triggers ORA-24816 error) --SKIPIF-- true, 'timesten' => true); // test runs on these DBs require(__DIR__.'/skipif.inc'); ?> --FILE-- --EXPECTF-- Test 1 - P1 Value: NULL P1 Length: Default P1 Type: Default P2 Value: NULL P2 Length: Default P2 Type: Default bool(true) Test 2 - P1 Value: '' P1 Length: Default P1 Type: Default P2 Value: '' P2 Length: Default P2 Type: Default bool(true) Test 3 - P1 Value: 'abc' P1 Length: 0 P1 Type: Default P2 Value: '' P2 Length: 0 P2 Type: Default bool(true) Test 4 - P1 Value: NULL P1 Length: -1 P1 Type: SQLT_LNG P2 Value: NULL P2 Length: -1 P2 Type:Default Warning: oci_execute(): ORA-24816: %s in %s on line %d bool(false) Test 5 - P1 Value: NULL P1 Length: 0 P1 Type: SQLT_LNG P2 Value: NULL P2 Length: 0 P2 Type:Default Warning: oci_execute(): ORA-24816: %s in %s on line %d bool(false)