summaryrefslogtreecommitdiff
path: root/server-tests.php
diff options
context:
space:
mode:
authorSobak <msobaczewski@gmail.com>2015-10-11 08:33:14 +0200
committerSobak <msobaczewski@gmail.com>2015-10-12 07:00:30 +0200
commit31f2dbc327e7f39bf04fd9ed5a84f54a83291836 (patch)
tree0203ebeacc9bdd0d513913c934a390f7936d2b98 /server-tests.php
parent4224907864bbc1291262447c4e23babd7f016fb3 (diff)
downloadphp-git-31f2dbc327e7f39bf04fd9ed5a84f54a83291836.tar.gz
Drop support for EOL'd PHP versions from run-tests
Diffstat (limited to 'server-tests.php')
-rwxr-xr-xserver-tests.php16
1 files changed, 2 insertions, 14 deletions
diff --git a/server-tests.php b/server-tests.php
index 8c2ae8607b..110147c21e 100755
--- a/server-tests.php
+++ b/server-tests.php
@@ -3,7 +3,7 @@
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2010 The PHP Group |
+ | Copyright (c) 1997-2015 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -48,14 +48,6 @@ define('PCRE_MISSING_ERROR',
| with --with-pcre-regex or if you have compiled pcre as a |
| shared module load it via php.ini. |
+-----------------------------------------------------------+');
-define('SAFE_MODE_WARNING',
-'+-----------------------------------------------------------+
-| ! WARNING ! |
-| You are running the test-suite with "safe_mode" ENABLED ! |
-| |
-| Chances are high that no test will work at all, |
-| depending on how you configured "safe_mode" ! |
-+-----------------------------------------------------------+');
define('TMP_MISSING',
'+-----------------------------------------------------------+
| ! ERROR ! |
@@ -456,7 +448,6 @@ class testHarness {
'output_handler'=>'',
'zlib.output_compression'=>'Off',
'open_basedir'=>'',
- 'safe_mode'=>'0',
'disable_functions'=>'',
'output_buffering'=>'Off',
'error_reporting'=>'4095',
@@ -736,7 +727,7 @@ class testHarness {
}
function checkRequirements() {
- if (version_compare(phpversion(), "5.0") < 0) {
+ if (version_compare(phpversion(), "5.4") < 0) {
$this->writemsg(REQ_PHP_VERSION);
exit;
}
@@ -753,9 +744,6 @@ class testHarness {
$this->writemsg(PCRE_MISSING_ERROR);
exit;
}
- if (ini_get('safe_mode')) {
- $this->writemsg(SAFE_MODE_WARNING);
- }
}
//