I agree; we can't deprecate dl().
There are some very common legitimate cases where it is really
useful, such as loading extensions that are not often needed into
a CGI (you don't want those in php.ini as they can slow down
your process startup).

--Wez.

> > > dl() is evil and should be deprecated. Actually that reminds me to
> > > add an E_STRICT about it. Shared libraries should only be loaded via
> > > php.ini.
> > > 
> > 
> > How about setting 'enable_dl' to 'Off' in php.ini-recommended ?
> 
> Are you kidding? :)
> 
> AFAIK and see the crash occurs only in debug mode.
> 
> Why would you like to disable by default (or recommand to) disable dl?
> 
> Dynamic load on extensions is a very usefull feature. I cannot imagine
> to live without it.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to