~legolas/ubuntu/natty/php5/5.3.5

« back to all changes in this revision

Viewing changes to ext/oci8/tests/connect_without_oracle_home.phpt

  • Committer: Stas Verberkt
  • Date: 2011-02-01 09:27:15 UTC
  • Revision ID: legolas@legolasweb.nl-20110201092715-yq052iu2yl4i2eyg
Inserted PHP 5.3.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
if ($ov !== 1) {
11
11
        die ("skip Test only valid when OCI8 is built with an ORACLE_HOME");
12
12
}
 
13
$iv = preg_match('/Oracle .*Version => (10\.2)/', $phpinfo);
 
14
if ($iv != 1) {
 
15
    die ("skip tests a feature that works only with Oracle 10gR2");
 
16
}
13
17
?>
14
18
--ENV--
15
19
ORACLE_HOME=""