Possible Duplicate:
In PHP, how do I check if a function exists?
PHP: How to check if extension is installed?
In my site there is an installation script. I want to check that basic PHP functions are supported on a given server in that section.
How can I do that? Is it possible to check the server support for basic functions?
ex:gd