[Phpmyadmin-devel] putting a @, or if (function_exists)) ?

Marc Delisle lem9 at users.sourceforge.net
Tue Aug 7 12:55:48 CEST 2001


Hi,

in phpwizard.net's forum:
---------
Hiyas,

      Just a bug report that phpmyadmin 2.2.0 doesn't work with php4.0b3
..

      as far as i can figure, this is because the php function
'extension_loaded' (used in lib.inc.php) isn't supported below PHP
3.0.10 and under PHP 4.0b4

      Cheers
      James QH
-----------

Should we check if the function extension_loaded exists before calling
it?  Or is the @ enough?
And should we do this for every PHP4-specific function we find in the
code?

Marc





More information about the Developers mailing list