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.


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 : [EMAIL PROTECTED]
>  GSM    : (+372) 56491109

Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to