Bug #72615 [Opn->Csd]: Method __call is triggered instead of an existing method

From: Date: Tue, 21 Jul 2020 18:32:28 +0000
Subject: Bug #72615 [Opn->Csd]: Method __call is triggered instead of an existing method
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228164@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72615&edit=1 ID: 72615 Updated by: nikic@php.net Reported by: madboy at gmail dot com Summary: Method __call is triggered instead of an existing method -Status: Open +Status: Closed Type: Bug Package: opcache Operating System: Ubuntu 14.04 PHP Version: 5.6.23 -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: Happy to oblige. I can't reproduce this issue with or without opcache. If anyone can still reproduce this on a supported PHP version, please say so and I'll take another look. Previous Comments: ------------------------------------------------------------------------ [2020-07-21 17:39:41] smcbride at msn dot com This bug has been open way too long. Someone close it or fix it. 2016? Give me a break. 4 years for a simple bug is ridiculous. ------------------------------------------------------------------------ [2016-07-18 15:58:05] cmb@php.net Thanks for the fast feedback! ------------------------------------------------------------------------ [2016-07-18 15:30:14] madboy at gmail dot com I did have opcache enabled by default. After I disabled it, I get an expected result from code snippet reported. I tried this code on PHP 5.5 and 7.0.8 and it worked fine with default settings. Though I dont know if I had cache enabled and I dont have those docker containers right now. ------------------------------------------------------------------------ [2016-07-18 13:52:51] cmb@php.net Is OPcache (or another bytecode cache) involved when you run on Apache? ------------------------------------------------------------------------ [2016-07-18 10:09:54] madboy at gmail dot com if I run this code from command line it works fine. I get this problem only if I execute it through Apache (haven`t tried any other methods). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=72615 -- Edit this bug report at https://bugs.php.net/bug.php?id=72615&edit=1

« previous php.bugs (#228164) next »