Edit report at https://bugs.php.net/bug.php?id=64482&edit=1
ID: 64482 Updated by: dmi...@php.net Reported by: lisachenko dot it at gmail dot com Summary: Opcodes for dynamic includes should not be cached -Status: Assigned +Status: Closed Type: Bug Package: opcache Operating System: Windows 7 PHP Version: 5.5.0beta1 Assigned To: dmitry Block user comment: N Private report: N New Comment: Automatic comment on behalf of dmi...@zend.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=0a00d292569a8fbd2d5c96c9d141b23ae916f00b Log: Fixed bug #64482 (Opcodes for dynamic includes should not be cached) Previous Comments: ------------------------------------------------------------------------ [2013-03-21 19:19:56] lisachenko dot it at gmail dot com Description: ------------ Dynamic includes with php://filter/ should not be cached as the source code can be modified dynamically. Probably, includes with stream wrappers should be ignored by the opcode cacher too. Test script: --------------- <?php // bug.php include 'include.php'; include 'php://filter/read=string.toupper/resource=include.php'; <?php // include.php echo "Dynamic include"; Expected result: ---------------- Dynamic includeDYNAMIC INCLUDE Actual result: -------------- Dynamic includeDynamic include ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64482&edit=1