Bug #78747 [Asn->Csd]: OpCache corrupts custom extension result
| From: | nikic@php.net | Date: | Fri, 25 Oct 2019 10:54:07 +0000 |
| Subject: | Bug #78747 [Asn->Csd]: OpCache corrupts custom extension result | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223456@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78747&edit=1
ID: 78747
Updated by: nikic@php.net
Reported by: ianton at live dot com
Summary: OpCache corrupts custom extension result
-Status: Assigned
+Status: Closed
Type: Bug
Package: opcache
Operating System: Debian GNU/Linux 10 (buster)
PHP Version: 7.3.10
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2019-10-24 10:23:24] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78747&edit=1