RE: [PHP-DEV] Bug #15233: Possibility to make include() from within functions with global scope
| From: | phpsurf | Date: | Sat, 26 Jan 2002 12:13:52 +0000 |
| Subject: | RE: [PHP-DEV] Bug #15233: Possibility to make include() from within functions with global scope | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78181@lists.php.net to get a copy of this message | ||
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: flying@dom.natm.ru [mailto:flying@dom.natm.ru]
Sent: samedi 26 janvier 2002 12:45
To: php-dev@lists.php.net
Subject: [PHP-DEV] Bug #15233: Possibility to make include() from within
functions with global scope
From: flying@dom.natm.ru
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: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
______________________________________________________________________________
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