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: Open +Status: Assigned Type: Bug Package: opcache Operating System: Windows 7 PHP Version: 5.5.0beta1 -Assigned To: +Assigned To: dmitry Block user comment: N Private report: N 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