12345678910111213141516171819 |
- --TEST--
- oci_execute() and invalid execute mode
- --EXTENSIONS--
- oci8
- --FILE--
- <?php
- require __DIR__."/connect.inc";
- $pc = oci_pconnect($user, $password, $dbase);
- $stmt = oci_parse($pc, "select NULL from dual");
- oci_execute($stmt, -1);
- echo "Done\n";
- ?>
- --EXPECTF--
- Warning: oci_execute(): Invalid execute mode given: -1 in %s on line %d
- Done
|