Re: Bug #12049 Updated: Crash in Zend Engine

From: Date: Wed, 11 Jul 2001 18:58:15 +0000
Subject: Re: Bug #12049 Updated: Crash in Zend Engine
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-59743@lists.php.net to get a copy of this message
Ah, well, it segfaults because parent:: wasn't all that good until 4.0.7, with classes that are defined in runtime (like class D in the example, which is only defined at runtime, because C it inherits from is not defined until later on in the file). 4.0.7 should fix this problem, even though the code is still buggy, but I guess that's only the example. Zeev At 06:48 12/7/2001, Andrew Sitnikov wrote:
This code "Segmentation" for me also (php 4.0.5 linux). zeev> The code snippet you supplied doesn't work - it dies with zeev> <b>Fatal error</b>: Call to undefined function: zoom() in <b>test.php</b> on line <b>9</b><br> zeev> test.php(9) : Fatal error - Call to undefined function: zoom() zeev> At any rate - the backtrace appears to suggest you have some endless recursive call. This is most probably the problem. Best regards, Andrew Sitnikov e-mail : sitnikov@infonet.ee
 GSM    : (+372) 56491109
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#59743) next »