Re: [PHP4BETA] zend engine does not provide full variable reference for variable functions

From: Date: Fri, 12 May 2000 11:53:50 +0000
Subject: Re: [PHP4BETA] zend engine does not provide full variable reference for variable functions
References: 1 2 3 4  Groups: php.version4 
Request: Send a blank email to php-version4+get-14908@lists.php.net to get a copy of this message
Of course, I agree in every point, but It would be great to convert this single token into multiple tokens to make calling methods of objects easier. $this->§$str could expand internally to $this->db->hello->test-> show() for example or any other syntax that would make change without breaking compatibility to Php3...
$str would return "db->query", which is a single token, its not evaluated and the '->' in "db->query" coming from $str is not treated as a class member pointer. And that is the expected behaviour. BTW, eval() isn't slow as you think. Perhaps the manual could use some extended eval() examples! Faisal
andré

« previous php.version4 (#14908) next »