Bug #79010 [NEW]: __Call magic function is not invoked

From: Date: Sat, 21 Dec 2019 00:26:17 +0000
Subject: Bug #79010 [NEW]: __Call magic function is not invoked
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224452@lists.php.net to get a copy of this message
From: stephen at sbillard dot org Operating system: Windows PHP version: 7.4.1 Package: Reproducible crash Bug Type: Bug Bug description:__Call magic function is not invoked Description: ------------ The magic method __call() appears fault under some conditions. I am unable to create a simple script that reproduces the issue, though. I am making a method call on an object where the method does not exist. The object on which the method is invoked is a 4th level decedent from the object that contains the __call() definition. When the method is invoked all output to the browser is terminated. In fact, I can inspect parts of the page that are visible, but if I try to view the source (in Chrome) none is shown. I am using Wampserver 32 bit version 3.2.2.2. I can switch to PHP version 7.3.13 and the code works. To get the code to work on version 7.4.1 I have defined an __call() method in the first descendant object that simply invokes parent::_call(). I have attempted to create a simple test case with these levels of object inheritance, but that script does not fail. I regret that I cannot interpret the instructions for a gdb backtrace to the Wampserver environment. -- Edit bug report at https://bugs.php.net/bug.php?id=79010&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79010&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79010&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79010&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79010&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79010&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79010&r=support Expected behavior: https://bugs.php.net/fix.php?id=79010&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79010&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79010&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79010&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79010&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79010&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79010&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79010&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79010&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79010&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79010&r=mysqlcfg

« previous php.bugs (#224452) next »