1--TEST-- 2PDO_OCI: phpinfo() output 3--EXTENSIONS-- 4pdo 5pdo_oci 6--SKIPIF-- 7<?php 8require(__DIR__.'/../../pdo/tests/pdo_test.inc'); 9PDOTest::skip(); 10?> 11--FILE-- 12<?php 13require(__DIR__.'/../../pdo/tests/pdo_test.inc'); 14$db = PDOTest::factory(); 15 16ob_start(); 17phpinfo(); 18$tmp = ob_get_contents(); 19ob_end_clean(); 20 21$reg = 'PDO Driver for OCI 8 and later => enabled'; 22if (!preg_match("/$reg/", $tmp)) { 23 printf("[001] Cannot find OCI PDO driver line in phpinfo() output\n"); 24} 25 26print "done!"; 27?> 28--EXPECT-- 29done! 30