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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2021 The PHP Group
All rights reserved.
Last updated: Tue May 18 01:01:25 2021 UTC