diff options
author | Tom Van Looy <tom@ctors.net> | 2016-11-20 10:08:51 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-11-20 14:16:50 +0100 |
commit | 442fd2f92a2c89eb4721c7d2b861aed09f792a0f (patch) | |
tree | 37a5be406b587e4ab0407aeb824db18eae06df43 /ext/pdo_mysql | |
parent | d37482679aa072190986df84a7168b0ccdbc7acf (diff) | |
download | php-git-442fd2f92a2c89eb4721c7d2b861aed09f792a0f.tar.gz |
Cleanup tests version checks
Diffstat (limited to 'ext/pdo_mysql')
-rw-r--r-- | ext/pdo_mysql/tests/bug46292.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize_simple.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_subclass.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_mysql/tests/skipif.inc | 4 |
5 files changed, 0 insertions, 12 deletions
diff --git a/ext/pdo_mysql/tests/bug46292.phpt b/ext/pdo_mysql/tests/bug46292.phpt index a0f9716c61..249345f0c2 100644 --- a/ext/pdo_mysql/tests/bug46292.phpt +++ b/ext/pdo_mysql/tests/bug46292.phpt @@ -5,8 +5,6 @@ Bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_ require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); -if (version_compare(PHP_VERSION, '5.1.0', '<')) - die("skip Needs 5.1.0 and Interface Serializable"); ?> --FILE-- <?php diff --git a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt index 18ef17b7c2..f098ba15f5 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt @@ -5,8 +5,6 @@ MySQL PDOStatement->fetch(), PDO::FETCH_SERIALIZE require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); -if (version_compare(PHP_VERSION, '5.1.0', '<')) - die("skip Needs 5.1.0 and Interface Serializable"); ?> --FILE-- <?php diff --git a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize_simple.phpt b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize_simple.phpt index a935e1aca0..890c7b73cb 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize_simple.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize_simple.phpt @@ -5,8 +5,6 @@ MySQL PDOStatement->fetch(), PDO::FETCH_SERIALIZE require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); -if (version_compare(PHP_VERSION, '5.1.0', '<')) - die("skip Needs 5.1.0 and Interface Serializable"); ?> --FILE-- <?php diff --git a/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt b/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt index 3595631f04..a717a0b13f 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt @@ -5,8 +5,6 @@ MySQL PDOStatement->execute()/fetch(), Non-SELECT require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); -if (version_compare(PHP_VERSION, '5.0.0', '<')) - die("skip Requires PHP 5.0+"); ?> --FILE-- <?php diff --git a/ext/pdo_mysql/tests/skipif.inc b/ext/pdo_mysql/tests/skipif.inc index d48670aec6..e503f55b3c 100644 --- a/ext/pdo_mysql/tests/skipif.inc +++ b/ext/pdo_mysql/tests/skipif.inc @@ -1,7 +1,3 @@ <?php if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip PDO_MySQL driver not loaded'); - -if (version_compare(PHP_VERSION, '5.1.0') < 0) - die('skip Most tests assume PHP 5.1+'); -?>
\ No newline at end of file |