RE: [PHP] global class instance
| From: | Richard Lynch | Date: | Fri, 07 Jul 2006 21:03:02 +0000 |
| Subject: | RE: [PHP] global class instance | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239209@lists.php.net to get a copy of this message | ||
On Wed, July 5, 2006 3:32 pm, KermodeBear wrote:
>>> i don't want to:
>>> - or use a::print
> $myFoo =& Singleton::getFoo();
What's wrong in this picture? :-)
As far as I can tell, the original poster shouldn't be using PHP,
since he wants the language to have some kind of implicit "$this"
--
Like Music?
http://l-i-e.com/artists.htm