diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-09-04 20:12:17 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-09-04 20:12:17 +0300 |
commit | b5935c339e490dbf63cd1635ac45593310d6838c (patch) | |
tree | ef61df6dce9d87177390419effb1f08e08b69106 | |
parent | 6355e650f7e523f704c95741efed3f0f051668d2 (diff) | |
download | php-git-b5935c339e490dbf63cd1635ac45593310d6838c.tar.gz |
Fixed tests
-rw-r--r-- | ext/opcache/tests/jmp_elim_001.phpt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/opcache/tests/jmp_elim_001.phpt b/ext/opcache/tests/jmp_elim_001.phpt index 349816e3c3..69974a1fa0 100644 --- a/ext/opcache/tests/jmp_elim_001.phpt +++ b/ext/opcache/tests/jmp_elim_001.phpt @@ -8,11 +8,9 @@ Edge-cases in constant conditional jump elimination $webserver = "Apache"; $cpuArc = "x86_64"; $archName = (strstr($cpuArc, "64") || PHP_INT_SIZE === 8) ? "64" : "32"; -$info = array('os' => PHP_OS, - 'phpversion' => phpversion(), - 'arch' => $archName, +$info = array('arch' => $archName, 'webserver' =>$webserver); header('Content-Type: application/json'); echo json_encode($info) . "\n"; --EXPECT-- -{"os":"Linux","phpversion":"7.2.0-dev","arch":"64","webserver":"Apache"} +{"arch":"64","webserver":"Apache"} |