Re: [PHP4BETA] Implicit "this" pointers.
| From: | Andi Gutmans | Date: | Fri, 21 Apr 2000 07:38:20 +0000 |
| Subject: | Re: [PHP4BETA] Implicit "this" pointers. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13856@lists.php.net to get a copy of this message | ||
This won't be supported in the near future (if at all) with PHP 4.0.0 so close.
Andi
At 10:45 PM 4/20/00 -0700, Szii wrote:
Can we get them for objects, please please please? class me {--- Andi Gutmans <andi@zend.com> http://www.zend.com/var $something;function me() {wave(); #won't work! needs $this-> SayHi(); #here either! needs $this-> $something = "Does this work?" # won't work, needs $this-> $this->wave(); #works} function SayHi() {echo "Hi!";} function wave() {echo "*wave*";} } It's very tedious to keep tying $this-> over and over. Maybe I'm just too spoiled on C++... -Szii -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net