Safe to load extension twice ?

From: Date: Thu, 16 Aug 2001 00:42:14 +0000
Subject: Safe to load extension twice ?
Groups: php.dev 
Request: Send a blank email to php-dev+get-63359@lists.php.net to get a copy of this message
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 ? The point is not "but you can catch this if its already loaded" but wether it causes a global killer or not. Or, can this only be answered individually for every extension depending how 'clean' it was written ? - Markus -- 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 (#63359) next »