[pmwiki-devel] PmWiki math & Is a function defined?
christian.ridderstrom at gmail.com
christian.ridderstrom at gmail.com
Fri Mar 9 15:38:37 CST 2007
On Fri, 9 Mar 2007, The Editor wrote:
> 2. Is there a way to tell if a function is defined? I want to call a
> function but don't know if the other module is enabled, and want to
> avoid an error if it is not defined. Not sure how to do this.
http://se.php.net/function_exists
Use php.net in general to check for php functions, it's quite good!
/C
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-devel
mailing list