Please don't just say it's useful, please say why :)
dl() has absolutely nothing over loading in php.ini, and has many drawbacks.
At 17:55 06/08/2001, Andy wrote:
>I disagree, is there any way dl() can be fixed,
>because it is a useful function...
>On Mon, 06 Aug 2001, Zeev Suraski wrote:
> > At 17:49 06/08/2001, Stig Sæther Bakken wrote:
> > >[Zeev Suraski <[EMAIL PROTECTED]>]
> > > > By the way, if it's really important, we can look into supporting it.
> > > > The way it was before - it worked in most cases (assuming you never
> > > > tried to use a class before you dl() the corresponding extension), but
> > > > could result in crashes in other cases.
> > > >
> > > > I don't think it's very important, though. dl() should most probably
> > > > be deprecated from the language, as it's not supported in thread safe
> > > > mode, it's slow and insecure. It also creates a host of interesting
> > > > bugs/buglets that are difficult to hunt and fix. Other than that -
> > > > it's great :)
> > >
> > >Uhm, are you suggesting we take away the possibility of loading
> > >extensions at run-time?
> > Depending on which run-time you mean, yes. I don't think it should be
> > possible to load extensions from within a PHP script.
> > Note that dl() never really behaved properly. It was always broken to one
> > degree or another. Also, it'll be completely unavailable in the thread
> > safe version of PHP, so we might as well deprecate it completely.
> > Loading extensions in the php.ini file is still very much possible.
> > Zeev
> > --
> > 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]
Zeev Suraski <[EMAIL PROTECTED]>
CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/
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]