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
 [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-2019 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 04:01:25 2019 UTC