PATH:
opt
/
alt
/
tests
/
alt-php83-pecl-oci8_3.4.0-1.el8
/
tests
--TEST-- oci_error() when oci_connect() fails --EXTENSIONS-- oci8 --FILE-- <?php putenv('ORA_SUPPRESS_ERROR_URL=TRUE'); // suppress Oracle Database 23ai error message URLs var_dump(oci_connect("some", "some", "some")); var_dump(oci_error()); echo "Done\n"; ?> --EXPECTF-- Warning: oci_connect(): ORA-12154: %s in %s on line %d bool(false) array(4) { ["code"]=> int(12154) ["message"]=> string(%d) "ORA-12154: %s" ["offset"]=> int(0) ["sqltext"]=> string(0) "" } Done
[-] minfo.phpt
[edit]
[-] extauth_03.phpt
[edit]
[-] extauth_01.phpt
[edit]
[-] clientversion.phpt
[edit]
[-] error1.phpt
[edit]
[-] lob_aliases.phpt
[edit]
[+]
..
[-] ini_1.phpt
[edit]
[-] drcp_connection_class.phpt
[edit]
[-] extauth_02.phpt
[edit]