mirror of
https://github.com/php/php-src.git
synced 2024-12-13 11:54:45 +08:00
fix skip reason
This commit is contained in:
parent
09b741ff47
commit
e2afb33e87
@ -3,7 +3,7 @@ PDO Common: PDOStatement SPL iterator
|
||||
--SKIPIF--
|
||||
<?php # vim:ft=php
|
||||
if (!extension_loaded('pdo')) die('skip');
|
||||
if (!extension_loaded('SPL')) print 'skip SPL not available';
|
||||
if (!extension_loaded('SPL')) die('skip SPL not available');
|
||||
if (!class_exists('IteratorIterator', false)) die('skip IteratorIterator class not present');
|
||||
$dir = getenv('REDIR_TEST_DIR');
|
||||
if (false == $dir) die('skip no driver');
|
||||
|
@ -3,7 +3,7 @@ PDO Common: PDOStatement SPL iterator
|
||||
--SKIPIF--
|
||||
<?php # vim:ft=php
|
||||
if (!extension_loaded('pdo')) die('skip');
|
||||
if (!extension_loaded('SPL')) print 'skip SPL not available';
|
||||
if (!extension_loaded('SPL')) die('skip SPL not available');
|
||||
$dir = getenv('REDIR_TEST_DIR');
|
||||
if (false == $dir) die('skip no driver');
|
||||
require_once $dir . 'pdo_test.inc';
|
||||
|
Loading…
Reference in New Issue
Block a user