Re: segfault with iterators
| From: | Andi Gutmans | Date: | Wed, 25 Feb 2004 17:25:16 +0000 |
| Subject: | Re: segfault with iterators | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8122@lists.php.net to get a copy of this message | ||
This should be fixed now.
Thanks for the reproducing case.
Andi
At 20:20 17/02/2004 +0100, Pierre-Alain Joye wrote:
Segfault: -------- <?php class Test { public $a = array(1,2,3,4,5); // removed, crash too function c() {return new Test();} } $obj = new Test(); foreach ($obj->c()->a as $value) { // Segafultsprint "Test\n";} ?>