Re: Is there a function to c if a php function exists
| From: | Jason Barnett | Date: | Thu, 03 Feb 2005 01:57:41 +0000 |
| Subject: | Re: Is there a function to c if a php function exists | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207961@lists.php.net to get a copy of this message | ||
Ben Edwards wrote:
...
So something like function_exists( cal_days_in_month() )http://www.php.net/manual/en/function.function-exists.php And to check if a specific extension is enabled: http://www.php.net/manual/en/function.extension-loaded.php -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://www.php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins