Re: Safe to load extension twice ?

From: Date: Thu, 16 Aug 2001 00:53:17 +0000
Subject: Re: Safe to load extension twice ?
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-63362@lists.php.net to get a copy of this message
I tested with php_opengl.dll under windows ... Rasmus was right, zillions of duplicate blabla errors. But under Linux with php-gtk, as Andrei said, nothing. Special Case ? - Markus On Wed, Aug 15, 2001 at 07:43:56PM -0500, Andrei Zmievski wrote : > At 05:38 PM 8/15/01 -0700, Rasmus Lerdorf wrote: > >You will see lots and lots of errors about functions being redefined, so > >yes, it is a very bad idea to load a shared library twice. > > error_reporting(E_ALL); > dl('php_gtk.so'); > dl('php_gtk.so'); > > Doesn't seem to complain. > > -Andrei > > Status: RO > Content-Length: 516 > Lines: 15 > -- Markus Fischer, http://guru.josefine.at/~mfischer/ EMail: mfischer@guru.josefine.at PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 -All your scripts are belong to Zend-

« previous php.dev (#63362) next »