I'm reading the References Explained section of php doc, and am a little confused on the Returning References section. I was wondering why you cannot get a reference to an object and call a member function all in one step like so:
$result=(&$bar->getObj())->foo(); I've tried this in code, and get a parse error. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php