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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ianton at live dot com
New email:
PHP Version: OS:

 

 [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: Thu Mar 28 17:01:29 2024 UTC