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