Bug #78747 [NEW]: OpCache corrupts custom extension result

From: Date: Thu, 24 Oct 2019 10:23:24 +0000
Subject: Bug #78747 [NEW]: OpCache corrupts custom extension result
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223452@lists.php.net to get a copy of this message
From: ianton at live dot com Operating system: Debian GNU/Linux 10 (buster) PHP version: 7.3.10 Package: opcache Bug Type: Bug Bug description:OpCache corrupts custom extension result 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 bug report at https://bugs.php.net/bug.php?id=78747&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78747&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78747&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78747&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78747&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78747&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78747&r=support Expected behavior: https://bugs.php.net/fix.php?id=78747&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78747&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78747&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78747&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78747&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78747&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78747&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78747&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78747&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78747&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78747&r=mysqlcfg

« previous php.bugs (#223452) next »