On Wed, 2010-08-11 at 15:29 +0100, Gustavo Lopes wrote: > > > * What about allowing properties with function names as > strings or > > array($obj_or_class, 'method'), won't that be needed for > being > > consistent with local variables? > > Well, you cannot do "$a = 'phpinfo'; $a();" as well, so it's > consistent with that. I think what you refer to would only make sense > if that were allowed.
You can. This is valid. johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php