note 55331 deleted from language.functions by sean
| From: | sean@php.net | Date: | Sun, 31 Jul 2005 02:12:49 +0000 |
| Subject: | note 55331 deleted from language.functions by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-92784@lists.php.net to get a copy of this message | ||
Note Submitter:
Reason: bad code
----
If you have problems calling a function a second time you can use "function_exists ()"
like this:
function a($param){
if(function_exists ('b')== FALSE){
function b($param){
echo($param);
}
}
b($param);
}
a('hello ');
a('world!');
// hello world!
and YES it is a geeky phrase!
so no problem in calling upon the b() in a() for a second time!