From 442fd2f92a2c89eb4721c7d2b861aed09f792a0f Mon Sep 17 00:00:00 2001 From: Tom Van Looy Date: Sun, 20 Nov 2016 10:08:51 +0100 Subject: Cleanup tests version checks --- ext/pdo_mysql/tests/bug46292.phpt | 2 -- ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt | 2 -- ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize_simple.phpt | 2 -- ext/pdo_mysql/tests/pdo_mysql_subclass.phpt | 2 -- ext/pdo_mysql/tests/skipif.inc | 4 ---- 5 files changed, 12 deletions(-) (limited to 'ext/pdo_mysql') 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-- 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-- 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-- 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-- \ No newline at end of file -- cgit v1.2.1