How To Check If API Is Loaded?
Posted: Mon Jun 23, 2008 11:53 am
I have required the usage of the new "filter" API for my project. (For those not in the know, go Google on "filter php.net".)
How can I have my PHP page check to see if any given API exists or generates a graceful error message? I don't think class_exists or method_exists works in this case because filter loads into the global namespace.
How can I have my PHP page check to see if any given API exists or generates a graceful error message? I don't think class_exists or method_exists works in this case because filter loads into the global namespace.