Martin Pedak wrote:
> What people think about adding
> regular expressions to include() or require() constructions or even
> making new language consruction like "import()" that can handle reg.
> exp. file includes. So thant you can include(/my/path/*) or
> import(/my/path/*.php).

You seem to be thinking about something like the import mechanism in 
Java, aren't you?

While this is a nice feature for a compiling language it does not make
to much sense for a scripting environment where every included file
will hurt runtinme performance and where this 'feature' could be used
for attacks by putting additional files in import-directories.

If you really still want this feature you can always use readdir()
and friends to implement the requested behavior in userland


-- 
Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de  +49-711-99091-77

-- 
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]

Reply via email to