On Sat, Aug 23, 2003 at 09:58:49PM +0000, Timm Friebe wrote:
> On Sat, 2003-08-23 at 21:15, Matthias Nothhaft wrote:
> Use the singleton pattern:
>   MYFW::getInstance()->method_a();

Which doesn't work yet, to prevent misunderstandings...

> Global variables are evil.

Anything is evil if misused.

> 
> - Timm
> 
> -- 
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Regards,
Stefan Walk
<[EMAIL PROTECTED]>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to