Re: segfault with ze2 #3
| From: | Stanislav Malyshev | Date: | Sun, 23 Mar 2003 18:13:57 +0000 |
| Subject: | Re: segfault with ze2 #3 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-199@lists.php.net to get a copy of this message | ||
This one should be fixed now.
SH>> <?php
SH>> namespace Foo {
SH>> class Bar {
SH>> function boom() {
SH>> echo "BOOM!\n";
SH>> }
SH>> }
SH>>
SH>> import Bar;
SH>>
SH>> $b = new Bar;
SH>> $b->boom();
SH>> ?>
SH>>
SH>> The import parse error will cause a segfault.
SH>>
SH>> -Sterling
SH>>
SH>>
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109