Bug #64482 [Asn->Csd]: Opcodes for dynamic includes should not be cached
| From: | dmitry@php.net | Date: | Mon, 25 Mar 2013 09:06:27 +0000 |
| Subject: | Bug #64482 [Asn->Csd]: Opcodes for dynamic includes should not be cached | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-178064@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64482&edit=1
ID: 64482
Updated by: dmitry@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 dmitry@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