[PHP-DEV] Safe to load extension twice ? From: Markus Fischer (mfischer <email protected>)
Date: 08/15/01

 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 <email protected>
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-

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>