[PHP-DEV] PHP 4.0 Bug #8817: $foo->getbar()->getfoobar()->method() From: tenshi <email protected>
Date: 01/19/01

From: tenshi <email protected>
Operating system: linux
PHP version: 4.0.4
PHP Bug Type: Class/Object related
Bug description: $foo-&gt;getbar()-&gt;getfoobar()-&gt;method()

Hi there.

It would imho be useful to be abeled to code
$foo->getbar()->getfoobar()->method();
instead of having to save each return value into a variable like:
$bar = $foo->getbar();
$foobar = $bar->getfoobar();
$foobar->method();

Thanx.

-- 
Edit Bug report at: http://bugs.php.net/?id=8817&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>