Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

From: Date: Mon, 06 Aug 2001 14:55:44 +0000
Subject: Re: Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-62268@lists.php.net to get a copy of this message
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 <zeev@zend.com>]
> > > 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: 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


Thread (52 messages)

« previous php.dev (#62268) next »