|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66285 OPCache regression
Submitted: 2013-12-13 14:40 UTC Modified: 2014-12-30 10:42 UTC
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:4 (80.0%)
Same OS:2 (40.0%)
From: roctom at gmail dot com Assigned:
Status: No Feedback Package: opcache
PHP Version: 5.5.7 OS: Debian Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: roctom at gmail dot com
New email:
PHP Version: OS:


 [2013-12-13 14:40 UTC] roctom at gmail dot com

I've just upgraded from PHP 5.5.5 to 5.5.7 and for some of my websites using a custom Wordpress theme I get a fatal error.

I've pinpointed the issue being the opcache module because if I disable it, the problem goes away.

Furthermore I've also tried to replicate the issue with PHP 5.5.6 (opcache enabled) and was unable to do so, which seems to point that there was a change to the opcache code between 5.5.6 and 5.5.7.

I am currently running opcache with xdebug.

The error:
Fatal error: in /path/wp-content/themes/k2/app/includes/pluggable.php on line 314

The line:
if ( ! function_exists('k2_ping_start_el') ):

'./configure' '--sysconfdir=/etc' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--with-apxs2=/usr/sbin/apxs' '--with-openssl' '--with-gd' '--with-curl=/usr/src/curl-7.21.7/include' '--with-zlib' '--enable-calendar' '--enable-mbstring' '--enable-zip' '--enable-sockets' '--with-mcrypt' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-kerberos' '--enable-ftp' '--disable-posix' '--enable-bcmath' '--enable-gd-native-ttf' '--with-freetype-dir' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-xsl=/usr/local/lib' '--enable-exif' '--enable-opcache'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-12-13 18:12 UTC]
-Status: Open +Status: Feedback
 [2013-12-13 18:12 UTC]
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.

 [2013-12-14 03:28 UTC] roctom at gmail dot com

I'm unable to figure out a reproducing script at the moment. On the other hand I was able to reproduce the issue in the PHP CLI with opcache.enable_cli=1.

When I run it a couple of times, I get those results:

Fatal error: Call to undefined function  ÷^() in /path/wp-content/themes/k2/app/includes/pluggable.php on line 314

Fatal error: Call to undefined function ¨¤Ò() in /path/wp-content/themes/k2/app/includes/pluggable.php on line 314

Fatal error: Call to undefined function hé() in /path/wp-content/themes/k2/app/includes/pluggable.php on line 314

Fatal error: Call to undefined function h§¼() in /path/wp-content/themes/k2/app/includes/pluggable.php on line 314

Fatal error: Call to undefined function hgÅ() in /path/wp-content/themes/k2/app/includes/pluggable.php on line 314

Note that the "undefined function" in question is function_exists, which seems to get stomped by junk. Let me know if there's anything else I could try/run that would help diagnose this issue.

 [2014-01-07 19:39 UTC] layanto at yahoo dot com
Possibly same bug on opcache?

 [2014-01-15 09:39 UTC] layanto at yahoo dot com
Re-tested pydio on PHP 5.5.8, still crashes fastcgi. Works fine with PHP 5.5.6.
 [2014-02-06 16:16 UTC] mitko at banksoft-bg dot com
in opcache.ini
 [2014-12-30 10:42 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 22 14:03:38 2021 UTC