It is also very important to have the possibility to make an include() or require() inside a function without the global scope !
If you want to add the feature you suggested, I hope that it will be optional and that this will not be the default behaviour. it looks like this question points out, once again, the need for defining namespaces inside PHP when developping large projects ... sure many of you have great ideas and suggestions about that ! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: samedi 26 janvier 2002 12:45 To: [EMAIL PROTECTED] Subject: [PHP-DEV] Bug #15233: Possibility to make include() from within functions with global scope From: [EMAIL PROTECTED] Operating system: all PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Possibility to make include() from within functions with global scope It is very important to have a possibility to perform include() or require() from within a function or class method and have included file into global scope. Here is a lot of reasons. Primary one is to make it possible to create dynamically loaded modules, it is very important into large projects. -- Edit bug report at: http://bugs.php.net/?id=15233&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]