php4-beta | 199912
Date: 12/02/99
- Next message: Andrei Zmievski: "Re: [PHP4BETA] 'use' keyword"
- Previous message: Yusuf Goolamabbas: "[PHP4BETA] Does PEAR always install in /usr/local/lib"
- In reply to: Andrei Zmievski: "Re: [PHP4BETA] 'use' keyword"
- Next in thread: Andrei Zmievski: "Re: [PHP4BETA] 'use' keyword"
- Reply: Andrei Zmievski: "Re: [PHP4BETA] 'use' keyword"
- Reply: rasmus <email protected>: "Re: [PHP4BETA] 'use' keyword"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 04:11 PM 12/1/99 -0600, Andrei Zmievski wrote:
>On Thu, 02 Dec 1999, Zeev Suraski wrote:
> > 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?
>
>That looks fine to me.
If someone does use "../foo.php" and .. is /www/php what would you expect
in the array?
$USED_PACKAGES["foo.php"] -> /www/php/foo.php?
Andi
--- 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: Andrei Zmievski: "Re: [PHP4BETA] 'use' keyword"
- Previous message: Yusuf Goolamabbas: "[PHP4BETA] Does PEAR always install in /usr/local/lib"
- In reply to: Andrei Zmievski: "Re: [PHP4BETA] 'use' keyword"
- Next in thread: Andrei Zmievski: "Re: [PHP4BETA] 'use' keyword"
- Reply: Andrei Zmievski: "Re: [PHP4BETA] 'use' keyword"
- Reply: rasmus <email protected>: "Re: [PHP4BETA] 'use' keyword"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

