Re: Function
| From: | Andrei Zmievski | Date: | Fri, 07 Jul 2000 16:27:43 +0000 |
| Subject: | Re: Function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5406@lists.php.net to get a copy of this message | ||
On Fri, 07 Jul 2000, Jordan Pickup wrote:
> How do you test if a function has already been declared?
if (function_exists("foo")) {
// do something
}
-Andrei
"Claiming Java is easier than C++ is like
saying that K2 is shorter than Everest."
-- Larry O'Brien (editor, Software Development)