from a support perspective, it might be nice to have a
quasi-implemented type of function that returns false for
function_exists but if the function is actually called, it would
return an error like imagecopyresampled() does (that is, a more
specific error than "function not supported"). that woul
Why is the habit of PHP modules to define functions that might or might not
work depending on library dependancies.
For example, ImageCopyResampled gives this error if libgd < 2.0:
"ImageCopyResampled required libgd 2.0"
But that makes this code useless:
if (function_exists('ImageCopyResampled'