diff options
| -rwxr-xr-x | ext/pdo_mysql/tests/pdo_014.phpt | 1 | ||||
| -rwxr-xr-x | ext/pdo_mysql/tests/pdo_018.phpt | 1 | ||||
| -rwxr-xr-x | ext/pdo_pgsql/tests/pdo_014.phpt | 1 | ||||
| -rwxr-xr-x | ext/pdo_pgsql/tests/pdo_018.phpt | 1 | ||||
| -rwxr-xr-x | ext/pdo_sqlite/tests/pdo_014.phpt | 1 | ||||
| -rwxr-xr-x | ext/pdo_sqlite/tests/pdo_018.phpt | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/ext/pdo_mysql/tests/pdo_014.phpt b/ext/pdo_mysql/tests/pdo_014.phpt index c268ad00d4..a702c93e7d 100755 --- a/ext/pdo_mysql/tests/pdo_014.phpt +++ b/ext/pdo_mysql/tests/pdo_014.phpt @@ -4,6 +4,7 @@ PDO_MySQL: PDOStatement and SPL Iterators <?php # vim:ft=php require_once('skipif.inc'); if (!extension_loaded('SPL')) die('skip SPL not available'); +if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist'); ?> --FILE-- <?php diff --git a/ext/pdo_mysql/tests/pdo_018.phpt b/ext/pdo_mysql/tests/pdo_018.phpt index 2a77a0a77c..2cc56bcb47 100755 --- a/ext/pdo_mysql/tests/pdo_018.phpt +++ b/ext/pdo_mysql/tests/pdo_018.phpt @@ -3,6 +3,7 @@ PDO_MySQL: PDO Unserializing --SKIPIF-- <?php # vim:ft=php require_once('skipif.inc'); +if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist'); ?> --FILE-- <?php diff --git a/ext/pdo_pgsql/tests/pdo_014.phpt b/ext/pdo_pgsql/tests/pdo_014.phpt index 74cf077bdf..eed5575c85 100755 --- a/ext/pdo_pgsql/tests/pdo_014.phpt +++ b/ext/pdo_pgsql/tests/pdo_014.phpt @@ -4,6 +4,7 @@ PDO_PGSQL: PDOStatement and SPL Iterators <?php # vim:ft=php require_once('skipif.inc'); if (!extension_loaded('SPL')) die('skip SPL not available'); +if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist'); ?> --FILE-- <?php diff --git a/ext/pdo_pgsql/tests/pdo_018.phpt b/ext/pdo_pgsql/tests/pdo_018.phpt index 6eaa66c788..99ccfe3648 100755 --- a/ext/pdo_pgsql/tests/pdo_018.phpt +++ b/ext/pdo_pgsql/tests/pdo_018.phpt @@ -3,6 +3,7 @@ PDO_PGSQL: PDO Unserializing --SKIPIF-- <?php # vim:ft=php require_once('skipif.inc'); +if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist'); ?> --FILE-- <?php diff --git a/ext/pdo_sqlite/tests/pdo_014.phpt b/ext/pdo_sqlite/tests/pdo_014.phpt index a9441a2f18..7c6e306cca 100755 --- a/ext/pdo_sqlite/tests/pdo_014.phpt +++ b/ext/pdo_sqlite/tests/pdo_014.phpt @@ -4,6 +4,7 @@ PDO_SQLite: PDOStatement and SPL Iterators <?php # vim:ft=php require_once('skipif.inc'); if (!extension_loaded('SPL')) die('skip SPL not available'); +if (!class_exists('IteratorIterator')) die ('skip Class IteratorIterator does not exist'); ?> --FILE-- <?php diff --git a/ext/pdo_sqlite/tests/pdo_018.phpt b/ext/pdo_sqlite/tests/pdo_018.phpt index 8fd5d1f267..600d02b910 100755 --- a/ext/pdo_sqlite/tests/pdo_018.phpt +++ b/ext/pdo_sqlite/tests/pdo_018.phpt @@ -3,6 +3,7 @@ PDO_SQLite: PDO Unserializing --SKIPIF-- <?php # vim:ft=php require_once('skipif.inc'); +if (!interface_exists('Serializeable')) die ('skip Interface Serializeable does not exist'); ?> --FILE-- <?php |
