1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Files
archived-php-src/ext/oci8/tests/execute_mode.phpt
T
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

20 lines
345 B
PHP

--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