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

Loïc loic-div at ifrance.com
Thu Aug 9 08:04:18 CEST 2001

Hi Marc & all!

>Should we check if the function extension_loaded exists before calling
>it?  Or is the @ enough?

'@' is not enough, you have to use "if
to do the work.

>And should we do this for every PHP4-specific function we find in the

Well, this could be a good idea but in the case of the bug report we're
about, the problem is a bit more annoying: lots of the functions that exists
php3.0.10+ and php4.0.0 are not implemented in php4.0 beta releases. It
means that you have to test each function (even php3 ones) before to use
them.... Really painfull.


ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...

More information about the Developers mailing list