> Mark Spruiell wrote:
>> In PHP 5.0.x, I can chain function calls like this:
>>
>> $obj->method()->anotherMethod();
>>
>> In PHP 5.1.x, this code results in an error:
>>
>> parse error, unexpected T_OBJECT_OPERATOR in ...
>>
>> I've looked through the change log for 5.1 but didn't see
>> anything relevant.
>>
>> Was this an intentional change?
>
> What version did you try?  It seems to still work fine with current CVS.

Sorry, false alarm. I thought I had 5.1.2 in my path, but
it was actually 4.x.

- Mark

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

Reply via email to