Bug #65845 [Fbk]: Error when Zend Opcache Optimizer is fully enabled

From: Date: Wed, 09 Oct 2013 16:05:14 +0000
Subject: Bug #65845 [Fbk]: Error when Zend Opcache Optimizer is fully enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182103@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: 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: sorry, I used wrong branch of opcache. and now I can reproduce that. Previous Comments: ------------------------------------------------------------------------ [2013-10-09 12:02:21] guy dot cesaro at gmail dot com Using the right flag to enable opcache with php-cli, the output is also incorrect. I tried with php 5.5.3, 5.5.4 and the latest snapshot. thank you for your help Cedric ------------------------------------------------------------------------ [2013-10-09 11:42:10] cedric at yterium dot com @laruence what makes sense is to use the right flag for cli runtime : opcache.enable is for non-cli PHP whereas opcache.enable_cli is for cli version. Just try with the good option in order to see the bug : $ php55 -d opcache.enable_cli=1 -d opcache.optimization_level=0xffffffff /tmp/1.php ------------------------------------------------------------------------ [2013-10-09 09:07:28] brunobergot at gmail dot com Hi Laruence, i'm pretty sure that Guy use the same php script cause i've sended it to him ;) ------------------------------------------------------------------------ [2013-10-09 02:35:35] laruence@php.net that doesn't make sense, are you sure they are the same PHP? ------------------------------------------------------------------------ [2013-10-08 13:34:14] guy dot cesaro at gmail dot com Hello Laruence, I've tried with php-cli (windows and ubuntu), the output is ok. Antoher try with : Apache/2.4.6 (Ubuntu) + PHP Version 5.5.4-1+debphp.org~raring+1 and the output is not ok. Can you please try the script with http server ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=65845 -- Edit this bug report at https://bugs.php.net/bug.php?id=65845&edit=1

« previous php.bugs (#182103) next »