1
0
mirror of https://github.com/php/php-src.git synced 2026-04-15 20:11:02 +02:00
Same as before actulaly - the host process running with Opcache
enabled, all the intermediate scripts land in cache. So the count
can be variable, maybe even better to just test for > 0.
This commit is contained in:
Anatol Belski
2017-01-13 14:40:31 +01:00
parent 527bf4d8e6
commit 8d1aab2aee

View File

@@ -18,6 +18,7 @@ $conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]);
print_r($conf);
include("blacklist.inc");
$status = opcache_get_status();
/* Probably should only test for > 0 here.*/
print_r(count($status['scripts']));
?>
--EXPECTF--
@@ -32,4 +33,4 @@ Array
[6] => %scurrent.php
)
ok
1
5