|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78747 OpCache corrupts custom extension result
Submitted: 2019-10-24 10:23 UTC Modified: 2019-10-25 10:44 UTC
From: ianton at live dot com Assigned: nikic (profile)
Status: Closed Package: opcache
PHP Version: 7.3.10 OS: Debian GNU/Linux 10 (buster)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
34 + 35 = ?
Subscribe to this entry?

 [2019-10-24 10:23 UTC] ianton at live dot com
OpCache corrupts class static method result in custom extension when method name matches with some php function ('serialize' or 'rmdir' or 'iconv_mime_decode_headers')
Without OpCache or with unique method name all works fine.

Test script:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-25 10:44 UTC]
-Assigned To: +Assigned To: nikic
 [2019-10-25 10:54 UTC]
Automatic comment on behalf of
Log: Fixed bug #78747
 [2019-10-25 10:54 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jun 28 22:05:44 2022 UTC