Re: [PHP4BETA] 'use' keyword
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] 'use' keyword | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7203@lists.php.net to get a copy of this message | ||
> I thought he meant that as in pseudo code, and not really keep it in that
> $USED_PACKAGES variable. As a rule I think we should avoid using globals
> at all, I think it opens an endless amount of possible security breaches,
> and generally isn't a Good Thing.
> How about a function, get_used_packages() that would return such an array?
I think I would prefer that approach as well.
-Rasmus