ID:               15233
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Won\'t fix
 Bug Type:         Feature/Change Request
 Operating System: all
 PHP Version:      4.0.6
 New Comment:

This is technically almost impossible without rewriting the whole
engine.


Previous Comments:
------------------------------------------------------------------------

[2002-10-02 03:59:04] [EMAIL PROTECTED]

This bug was submitted about a year ago, but no any developer comments
are still available. According to comments, added by other PHP
programmers - this feature is quite important. 
 Will we ever have a chance to know if such funtcionality is planned
for implementation?

------------------------------------------------------------------------

[2002-06-06 06:44:56] [EMAIL PROTECTED]

Possible (even though not particularily good) workaround is to
"register" (put them in say global array, which maps class/function
names to filenames) your "dynamic libraries" where you would normally
want to load them.  Then where ever you want to access dynamically
loaded classes/functions, first include file containing it/them.

This works only when you don't really _have_to_ access global
namespace.  I used this approach on a system where config files
scattered all over the filesystem (like apache's .htaccess) can locally
change behaviour of my system and add features (register new "handlers"
etc).  Instead of actually loading these configs only register new
features and loading is performed only when I need to instantiate a
"dynamically loaded" class.

------------------------------------------------------------------------

[2002-06-05 13:29:03] [EMAIL PROTECTED]

I had to change my developement tool due to lack of the possibility to
create dynamically loadable (php) modules (with php).  PHP just could't
do what I wanted.  Just as Kevin said, this is critical feature in
modular systems.

------------------------------------------------------------------------

[2002-05-10 05:37:03] [EMAIL PROTECTED]

for modular installations this type of feature is critical. The
alternatives are the code you see produced in *nuke type cms system. I
really leaves php lacking

------------------------------------------------------------------------

[2002-01-26 06:45:23] [EMAIL PROTECTED]

 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 this bug report at http://bugs.php.net/?id=15233&edit=1

Reply via email to