--TEST-- Test some oci_bind_by_name error conditions --EXTENSIONS-- oci8 --SKIPIF-- --FILE-- --EXPECTF-- Insert value bool(true) Test 1 - Assign a resource to the bind variable and execute Warning: oci_execute(): Invalid variable used for bind in %s on line %d bool(false) Test 2 - Re-bind a resource Warning: oci_bind_by_name(): Invalid variable used for bind in %s on line %d Warning: oci_execute(): Invalid variable used for bind in %s on line %d bool(false) resource(%d) of type (oci8 connection) Test 3 - Resource mismatch !! Warning: oci_bind_by_name(): Invalid variable used for bind in %s on line %d Warning: oci_execute(): ORA-%r(01008|57000)%r: %s on line %d bool(false) Done