~clint-fewbar/ubuntu/precise/php5/php5-5.4-merge

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-02-22 09:46:37 UTC
  • mfrom: (1.1.20) (0.3.18 sid)
  • Revision ID: package-import@ubuntu.com-20110222094637-nlu2tvb7oqgaarl0
Tags: 5.3.5-1ubuntu1
* Merge from debian/unstable. Remaining changes:
 - debian/control:
    * Dropped firebird2.1-dev, libc-client-dev, libmcrypt-dev as it is in universe.
    * Dropped libmysqlclient15-dev, build against mysql 5.1.
    * Dropped libcurl-dev not in the archive.
    * Suggest php5-suhosin rather than recommends.
    * Dropped php5-imap, php5-interbase, php5-mcrypt since we have versions 
      already in universe.
    * Dropped libonig-dev and libqgdbm since its in universe. (will be re-added in lucid+1)
    * Dropped locales-all.
  - modulelist: Drop imap, interbase, sybase, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
    * stop mysql instance on clean just in case we failed in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
$sv = preg_match('/Release 1[01]\.2\./', $sv, $matches);
9
9
if ($sv !== 1) {
10
10
        die ("skip expected output only valid when using Oracle 10gR2 11gR2 databases");
 
11
} else {
 
12
    ob_start();
 
13
    phpinfo(INFO_MODULES);
 
14
    $phpinfo = ob_get_clean();
 
15
    $iv = preg_match('/Oracle .*Version => 1[1]\./', $phpinfo);
 
16
    if ($iv != 1) {
 
17
        die ("skip test expected to work only with Oracle 11g or greater version of client");
 
18
    }
11
19
}
12
20
?>
13
21
--FILE--
14
22
<?php
15
23
 
16
 
// Note: expected output is valid for 32bit clients to 32bit 10gR2 XE or 11.2.0.1 64bit DBs.
17
 
// It will diff on the undefined cases with a 32bit 11.2.0.1 DB
18
 
 
19
24
require(dirname(__FILE__).'/connect.inc');
20
25
 
21
26
// Initialization