1--TEST-- 2PDO_OCI: Attribute: verify driver name 3--SKIPIF-- 4<?php 5if (!extension_loaded('pdo') || !extension_loaded('pdo_oci')) die('skip not loaded'); 6require(__DIR__.'/../../pdo/tests/pdo_test.inc'); 7PDOTest::skip(); 8?> 9--FILE-- 10<?php 11 12require __DIR__ . '/../../pdo/tests/pdo_test.inc'; 13 14$dbh = PDOTest::factory(); 15var_dump($dbh->getAttribute(PDO::ATTR_DRIVER_NAME)); 16 17echo "Done\n"; 18?> 19--EXPECT-- 20string(3) "oci" 21Done 22