mirror of
https://github.com/php/php-src.git
synced 2026-04-26 01:18:19 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
20 lines
345 B
PHP
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
|