/hphp/test/zend/bad/ext/opcache/tests/blacklist.php
http://github.com/facebook/hiphop-php · PHP · 10 lines · 10 code · 0 blank · 0 comment · 0 complexity · 062b8890efcbc64f1a926842c773365e MD5 · raw file
- <?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]);
- print_r($conf);
- include("blacklist.inc");
- $status = opcache_get_status();
- print_r(count($status['scripts']));
- ?>