com php-src: Fixed tests: ext/opcache/tests/jmp_elim_00 1.phpt
| From: | Dmitry Stogov | Date: | Mon, 04 Sep 2017 17:12:17 +0000 |
| Subject: | com php-src: Fixed tests: ext/opcache/tests/jmp_elim_00 1.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99247@lists.php.net to get a copy of this message | ||
Commit: b5935c339e490dbf63cd1635ac45593310d6838c
Author: Dmitry Stogov <dmitry@zend.com> Mon, 4 Sep 2017 20:12:17 +0300
Parents: 6355e650f7e523f704c95741efed3f0f051668d2
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b5935c339e490dbf63cd1635ac45593310d6838c
Log:
Fixed tests
Changed paths:
M ext/opcache/tests/jmp_elim_001.phpt
Diff:
diff --git a/ext/opcache/tests/jmp_elim_001.phpt b/ext/opcache/tests/jmp_elim_001.phpt
index 349816e..69974a1 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"}