php4-beta | 199912
Date: 12/01/99
- Next message: Stig Bakken: "Re: [PHP4BETA] cvs: /php4 SAPI.h configure.in php_ini.h /php4/dl phpdl.h /php4/ext/gd gd.c gdttf.c php3_gd.h /php4/ext/mysql php_mysql.c php_mysql.h /php4/ext/standard php_output.h /php4/pear README"
- Previous message: Sascha Schumann: "Re: [PHP4BETA] cvs: /php4 SAPI.h configure.in php_ini.h /php4/dl phpdl.h /php4/ext/gd gd.c gdttf.c php3_gd.h /php4/ext/mysql php_mysql.c php_mysql.h /php4/ext/standard php_output.h /php4/pear README"
- In reply to: Zeev Suraski: "Re: [PHP4BETA] 'use' keyword"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2 Dec 1999, Zeev Suraski wrote:
| At 23:31 01/12/1999 , Andrei Zmievski wrote:
| >On Wed, 01 Dec 1999, Andi Gutmans wrote:
| > > At 01:21 PM 12/1/99 -0600, Andrei Zmievski wrote:
| > > >Does new 'use' keyword automatically set $USED_PACKAGES entry or not?
| > >
| > > No it just makes sure that this file hasn't been required twice. Do we
| > want
| > > it to do something else?
| >
| >Yes, I think Stig talked about setting $USED_PACKAGES["foo"] = <full
| >path to foo> when 'use foo' is used.
|
| 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?
Sure. I just wanted the possibility to check whether a package is loaded.
- Stig
-- 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: Stig Bakken: "Re: [PHP4BETA] cvs: /php4 SAPI.h configure.in php_ini.h /php4/dl phpdl.h /php4/ext/gd gd.c gdttf.c php3_gd.h /php4/ext/mysql php_mysql.c php_mysql.h /php4/ext/standard php_output.h /php4/pear README"
- Previous message: Sascha Schumann: "Re: [PHP4BETA] cvs: /php4 SAPI.h configure.in php_ini.h /php4/dl phpdl.h /php4/ext/gd gd.c gdttf.c php3_gd.h /php4/ext/mysql php_mysql.c php_mysql.h /php4/ext/standard php_output.h /php4/pear README"
- In reply to: Zeev Suraski: "Re: [PHP4BETA] 'use' keyword"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

