PageRenderTime 29ms CodeModel.GetById 26ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1<?php
 2$conf = opcache_get_configuration();
 3$conf = $conf['blacklist'];
 4$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]); 
 5$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]); 
 6print_r($conf);
 7include("blacklist.inc");
 8$status = opcache_get_status();
 9print_r(count($status['scripts']));
10?>