--TEST-- oci_error() when oci_connect() fails --SKIPIF-- --ENV-- return " ORACLE_HOME=".(isset($_ENV['ORACLE_HOME']) ? $_ENV['ORACLE_HOME'] : '')." NLS_LANG=".(isset($_ENV['NLS_LANG']) ? $_ENV['NLS_LANG'] : '')." "; --FILE-- --EXPECTF-- Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d bool(false) bool(false) Done