php.net |  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:
MUST BE VALID
Solve the problem:
31 + 40 = ?
Subscribe to this entry?

 
 [2019-10-24 10:23 UTC] ianton at live dot com
Description:
------------
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:
---------------
https://github.com/ianton-ru/php_test_extension

Expected result:
----------------
Test

Actual result:
--------------
NULL

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-25 10:44 UTC] nikic@php.net
-Assigned To: +Assigned To: nikic
 [2019-10-25 10:54 UTC] nikic@php.net
Automatic comment on behalf of nikita.ppv@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=52499938142351d20a46c2b941e957ab0d618109
Log: Fixed bug #78747
 [2019-10-25 10:54 UTC] nikic@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 11:01:28 2024 UTC