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

From: Date: Wed, 09 Oct 2013 11:42:11 +0000
Subject: Bug #65845 [Com]: Error when Zend Opcache Optimizer is fully enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182099@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 Comment by: cedric at yterium dot com 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: @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 Previous Comments: ------------------------------------------------------------------------ [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 ? ------------------------------------------------------------------------ [2013-10-08 11:05:44] laruence@php.net Please try using this snapshot: http://snaps.php.net/php5.5-latest.tar.gz For Windows: http://windows.php.net/snapshots/ please try with the latest snapshot of php5.5 in git ------------------------------------------------------------------------ [2013-10-08 11:02:28] laruence@php.net hmm, I run this with opcache enable, and fully optimizer. seems the output is expected? " $ php55 -d opcache.enable=1 -d opcache.optimization_level=0xffffffff /tmp/1.php This should echo empty string: This should echo "tutu" string: tutu " ------------------------------------------------------------------------ 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 (#182099) next »