php4-beta | 200004
Date: 04/21/00
- Next message: Andi Gutmans: "Re: [PHP4BETA] Constructors"
- Previous message: Velanche Stewart: "[PHP4BETA] MySQL + PHP4RC1 + APACHE = ALMOST THERE"
- In reply to: Szii: "[PHP4BETA] Implicit "this" pointers."
- Next in thread: Dan: "RE: [PHP4BETA] Implicit "this" pointers."
- Reply: Dan: "RE: [PHP4BETA] Implicit "this" pointers."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>{
> 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 <email protected>
>For additional commands, e-mail: php4beta-help <email protected>
>To contact the list administrators, e-mail: php4beta-admin <email protected>
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP4BETA] Constructors"
- Previous message: Velanche Stewart: "[PHP4BETA] MySQL + PHP4RC1 + APACHE = ALMOST THERE"
- In reply to: Szii: "[PHP4BETA] Implicit "this" pointers."
- Next in thread: Dan: "RE: [PHP4BETA] Implicit "this" pointers."
- Reply: Dan: "RE: [PHP4BETA] Implicit "this" pointers."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

