> From a technical aspect, is it safe to load a particular
> extension twice ? Does it only hit performance (loading the
> .dll/.so twice) or are there some other caveats which can lead to
> unexpected behaviour ?
>
> Example is an extension already loaded in php.ini via
> extension=foo.so and in the script its also loaded via
> dl('foo.so');
>
> Will this do any harm ?
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.
-Rasmus
--
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]