> 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.
Try it from the Apache module version and you will see the warnings.
They look like this:
Warning: Function registration failed - duplicate name -
confirm_test_compiled in /usr/local/home/rasmus/phpweb/test.php on line 3
Warning: test: Unable to register functions, unable to load in Unknown on
line 0
>From this script:
<?
dl('test.so');
dl('test.so');
?>
-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]