Nope. I don't have time to add one right now...
Pierre got time? :)
If not I'll try and do it within the next few days.

Andi

At 21:53 25/02/2004 +0200, Jani Taskinen wrote:

Was there a test for this..? Would be nice if Pierre/Andi would add one if not. :)

--Jani


On Wed, 25 Feb 2004, Andi Gutmans wrote:


>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) { // Segafults
>>     print "Test\n";
>>}
>>
>>?>
>
>

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to