From b5935c339e490dbf63cd1635ac45593310d6838c Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 4 Sep 2017 20:12:17 +0300 Subject: [PATCH] Fixed tests --- ext/opcache/tests/jmp_elim_001.phpt | 6 ++---- 1 file 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"} -- 2.50.1