PHP 4.0 Bug #8817: $foo->getbar()->getfoobar()->method()
| From: | tenshi at cinter dot de | Date: | Sat, 20 Jan 2001 03:24:46 +0000 |
| Subject: | PHP 4.0 Bug #8817: $foo->getbar()->getfoobar()->method() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44621@lists.php.net to get a copy of this message | ||
From: tenshi@cinter.de
Operating system: linux
PHP version: 4.0.4
PHP Bug Type: Class/Object related
Bug description: $foo->getbar()->getfoobar()->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