mirror of
https://github.com/php/php-src.git
synced 2024-10-18 06:52:34 +00:00
7ab5d01e23
- Updated PDO_OCI to the latest version (from PHP_5_3 branch) # This commit reverts some changes to the tests. Given the very high # failure ratio of the current tests on HEAD I'm not going to fix them # now. Keeping ext/pdo_oci in sync with 5.3 will be much more helpful when # merging. The effort to fix the tests can start when 5.3 is out.
22 lines
440 B
PHP
22 lines
440 B
PHP
--TEST--
|
|
PDO_OCI: Attribute: verify driver name
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('pdo') || !extension_loaded('pdo_oci')) die('skip not loaded');
|
|
require(dirname(__FILE__).'/../../pdo/tests/pdo_test.inc');
|
|
PDOTest::skip();
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
require dirname(__FILE__) . '/../../pdo/tests/pdo_test.inc';
|
|
|
|
$dbh = PDOTest::factory();
|
|
var_dump($dbh->getAttribute(PDO::ATTR_DRIVER_NAME));
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECT--
|
|
string(3) "oci"
|
|
Done
|