]> granicus.if.org Git - php/commitdiff
Fixed tests
authorDmitry Stogov <dmitry@zend.com>
Mon, 4 Sep 2017 17:12:17 +0000 (20:12 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 4 Sep 2017 17:12:17 +0000 (20:12 +0300)
ext/opcache/tests/jmp_elim_001.phpt

index 349816e3c3cc467991de5e953a582ad8a2bf6706..69974a1fa0f10a48caea21b00f7ca580e7a60385 100644 (file)
@@ -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"}