diff options
Diffstat (limited to 'ext/opcache')
-rw-r--r-- | ext/opcache/tests/blacklist-win32.phpt | 4 | ||||
-rw-r--r-- | ext/opcache/tests/blacklist.phpt | 4 | ||||
-rw-r--r-- | ext/opcache/tests/bug64482.phpt | 2 | ||||
-rw-r--r-- | ext/opcache/tests/bug69038.phpt | 2 | ||||
-rw-r--r-- | ext/opcache/tests/bug74980.phpt | 2 | ||||
-rw-r--r-- | ext/opcache/tests/compact_literals.phpt | 4 | ||||
-rw-r--r-- | ext/opcache/tests/zzz_basic_logging.phpt | 2 |
7 files changed, 10 insertions, 10 deletions
diff --git a/ext/opcache/tests/blacklist-win32.phpt b/ext/opcache/tests/blacklist-win32.phpt index fab0698f7f..7fbe5dbd29 100644 --- a/ext/opcache/tests/blacklist-win32.phpt +++ b/ext/opcache/tests/blacklist-win32.phpt @@ -13,8 +13,8 @@ opcache.file_cache_only=0 <?php $conf = opcache_get_configuration(); $conf = $conf['blacklist']; -$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]); -$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]); +$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]); +$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]); print_r($conf); include("blacklist.inc"); $status = opcache_get_status(); diff --git a/ext/opcache/tests/blacklist.phpt b/ext/opcache/tests/blacklist.phpt index 4e9a0f16fc..da3ef47c99 100644 --- a/ext/opcache/tests/blacklist.phpt +++ b/ext/opcache/tests/blacklist.phpt @@ -13,8 +13,8 @@ opcache.file_cache_only=0 <?php $conf = opcache_get_configuration(); $conf = $conf['blacklist']; -$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]); -$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]); +$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]); +$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]); print_r($conf); include("blacklist.inc"); $status = opcache_get_status(); diff --git a/ext/opcache/tests/bug64482.phpt b/ext/opcache/tests/bug64482.phpt index fa722f6d45..e328c9fc1d 100644 --- a/ext/opcache/tests/bug64482.phpt +++ b/ext/opcache/tests/bug64482.phpt @@ -6,7 +6,7 @@ opcache.enable_cli=1 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- -<?php +<?php include 'bug64482.inc'; echo "\n"; include 'php://filter/read=string.toupper/resource=bug64482.inc'; diff --git a/ext/opcache/tests/bug69038.phpt b/ext/opcache/tests/bug69038.phpt index ab625d74b0..1670a9eca6 100644 --- a/ext/opcache/tests/bug69038.phpt +++ b/ext/opcache/tests/bug69038.phpt @@ -9,7 +9,7 @@ opcache.optimization_level=-1 --FILE-- <?php function a($a = "bad") { - + switch (PHP_OS) { case "LALALALA" : return "LALALAL"; case PHP_OS: return "okey"; diff --git a/ext/opcache/tests/bug74980.phpt b/ext/opcache/tests/bug74980.phpt index 40fd3cd537..e82e234bdd 100644 --- a/ext/opcache/tests/bug74980.phpt +++ b/ext/opcache/tests/bug74980.phpt @@ -16,7 +16,7 @@ class A while ($undef) { $arr[][] = NULL; } - + foreach ($arr as $a) { bar($a + []); } diff --git a/ext/opcache/tests/compact_literals.phpt b/ext/opcache/tests/compact_literals.phpt index 367331f742..0aabb22b50 100644 --- a/ext/opcache/tests/compact_literals.phpt +++ b/ext/opcache/tests/compact_literals.phpt @@ -65,7 +65,7 @@ function get_eol_define() { get_eol_define(); define("EOL", MY_EOL); -echo "constants define" . ":" . EOL; +echo "constants define" . ":" . EOL; echo "define " . "TEST" . EOL; define("TEST", "TEST"); @@ -150,7 +150,7 @@ var_dump($h::H); var_dump(CH::H); echo "-->I" . PHP_EOL; -$h = geti(); +$h = geti(); $h->H(); var_dump($h::H); var_dump(CI::H); diff --git a/ext/opcache/tests/zzz_basic_logging.phpt b/ext/opcache/tests/zzz_basic_logging.phpt index 809046ed57..e8d84a9304 100644 --- a/ext/opcache/tests/zzz_basic_logging.phpt +++ b/ext/opcache/tests/zzz_basic_logging.phpt @@ -1,7 +1,7 @@ --TEST-- Test basic logging for the Opcache --DESCRIPTION-- -This test runs a simple PHP script and ensures the Opcache +This test runs a simple PHP script and ensures the Opcache outputs the correct logging at the highest log_verbosity_level --INI-- |