/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
opcache
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/opcache/tests/bug71127.phpt
--TEST-- Bug #71127 (Define in auto_prepend_file is overwrite) --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.optimization_level=0x7FFFBFFF --SKIPIF-- <?php if (!extension_loaded('Zend OPcache')) die("skip"); ?> --FILE-- <?php $file = __DIR__ . "/bug71127.inc"; file_put_contents($file, "<?php define('FOO', 'bad'); echo FOO;?>"); define("FOO", "okey"); include($file); ?> --CLEAN-- <?php @unlink(__DIR__ . "/bug71127.inc"); ?> --EXPECTF-- Warning: Constant FOO already defined in %sbug71127.inc on line %d okey
Copyright ©2k19 -
Hexid
|
Tex7ure