Bug #65845 [Opn->Fbk]: Error when Zend Opcache Optimizer is fully enabled
| From: | laruence@php.net | Date: | Tue, 08 Oct 2013 05:56:39 +0000 |
| Subject: | Bug #65845 [Opn->Fbk]: Error when Zend Opcache Optimizer is fully enabled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-182072@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65845&edit=1
ID: 65845
Updated by: laruence@php.net
Reported by: bruno+php at ahennezel dot info
Summary: Error when Zend Opcache Optimizer is fully enabled
-Status: Open
+Status: Feedback
Type: Bug
Package: opcache
Operating System: Linux 3.11.2-1-ARCH
PHP Version: 5.5.4
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
hmm, are you able to get the compiled SPIP view file? it must be a PHP script which can be used to
reproduce this problem?
Previous Comments:
------------------------------------------------------------------------
[2013-10-06 18:13:34] bruno+php at ahennezel dot info
Wrong package : Opcache
------------------------------------------------------------------------
[2013-10-06 18:10:34] bruno+php at ahennezel dot info
Typo : With opcache.optimization_level=0xffffffef the result is "value".
------------------------------------------------------------------------
[2013-10-06 11:38:42] bruno+php at ahennezel dot info
Description:
------------
With the SPIP CMS V3, the default optimization level
opcache.optimization_level=0xffffffff
and
opcache.optimization_level=0xffffffef
give different results.
Test script:
---------------
I dont know how to test directly in PHP, but here is a very short SPIP snippet which brings out the
problem. Put in the SPIP's sommaire.html skeleton :
#SET{var,value}
[(#GET{var})]
With opcache.optimization_level=0xffffffff the result is empty.
With opcache.optimization_level=0xffffffff the result is "value".
Expected result:
----------------
I expect the content "value"
Actual result:
--------------
The content is empty
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65845&edit=1