Re: [PHP4BETA] Core dump defining class initializers
| From: | Zeev Suraski | Date: | Fri, 09 Apr 1999 13:54:22 +0000 |
| Subject: | Re: [PHP4BETA] Core dump defining class initializers | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-41@lists.php.net to get a copy of this message | ||
At 12:29 09/04/99 +0200, Kristian Köhntopp wrote:
>kk@poe ~/php4 $ ./php
><?php
>class testclass {
> var $foo = "bar";
>Segmentation Fault (core dumped)
Woo, that's a nice one :)
It actually works fine, only you stepped on an existing class (testclass is
a builtin class that we used to demonstrate overloading of OO syntax).
I'll fix it so that it handle class redefinition a bit more gracefully :)
Zeev
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta