Richard Quadling wrote: > As for reading $seconds directly ... > > Well. > > If you think of the element that follows read as $this->xxxx, then if > the parser can handle both ... > > read $seconds > read getSeconds > > then yes for both. > > If not, then I'd guess that the getSeconds version should be the one > we use as the value may not actually exist without some processing. > > Richard.
If it begins with $, it's a variable name, so map to that class member variable. If it is instead a plain T_STRING, take that as a member call. I'm not sure to be understanding the issue you're mentioning. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php