mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
31c35e5cad
remove ENV tag from the old ones
19 lines
382 B
PHP
19 lines
382 B
PHP
--TEST--
|
|
oci_error() when oci_connect() fails
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(oci_connect("some", "some", "some"));
|
|
var_dump(oci_error());
|
|
|
|
echo "Done\n";
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
|
|
bool(false)
|
|
bool(false)
|
|
Done
|