diff options
-rw-r--r-- | ext/opcache/tests/bug76275.phpt | 8 | ||||
-rw-r--r-- | ext/simplexml/tests/SimpleXMLElement_xpath_3.phpt | 1 | ||||
-rw-r--r-- | ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt | 1 |
3 files changed, 1 insertions, 9 deletions
diff --git a/ext/opcache/tests/bug76275.phpt b/ext/opcache/tests/bug76275.phpt index 82e4272185..4be55d8335 100644 --- a/ext/opcache/tests/bug76275.phpt +++ b/ext/opcache/tests/bug76275.phpt @@ -6,12 +6,6 @@ opcache.enable_cli=1 opcache.file_cache=/tmp --FILE-- <?php - -if (PHP_VERSION_ID >= 70000) { - echo "Done"; - return; -} - if (!is_callable('random_bytes')) { try { } catch (com_exception $e) { @@ -22,8 +16,8 @@ if (!is_callable('random_bytes')) { throw new Exception( 'There is no suitable CSPRNG installed on your system' ); - return ''; } } +echo 'Done'; --EXPECT-- Done diff --git a/ext/simplexml/tests/SimpleXMLElement_xpath_3.phpt b/ext/simplexml/tests/SimpleXMLElement_xpath_3.phpt index c968a33970..8682cf818d 100644 --- a/ext/simplexml/tests/SimpleXMLElement_xpath_3.phpt +++ b/ext/simplexml/tests/SimpleXMLElement_xpath_3.phpt @@ -2,7 +2,6 @@ Testing xpath() with invalid XML --SKIPIF-- <?php -if (PHP_MAJOR_VERSION < 7) die("skip this test is for PHP 7+ only"); if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms only"); ?> --FILE-- diff --git a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt index cb6b3ad08f..28e0517651 100644 --- a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt +++ b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt @@ -3,7 +3,6 @@ Testing xpath() with invalid XML --SKIPIF-- <?php if (!extension_loaded('simplexml')) die('skip simplexml extension not loaded'); -if (PHP_MAJOR_VERSION < 7) die("skip this test is for PHP 7+ only"); if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only"); ?> --FILE-- |