Background
In every other programming language I use on a regular basis, it is simple to operate on the return value of a function without declaring
Actually, I've written a library which allows such behavior:
http://code.google.com/p/php-preparser/
Works with everything: functions, methods. Caches, so being as fast as PHP itself :)