Are PHP user-defined functions recursive?
| From: | Ken Sommers | Date: | Wed, 11 Jul 2001 17:55:21 +0000 |
| Subject: | Are PHP user-defined functions recursive? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-10301@lists.php.net to get a copy of this message | ||
Manual says:
-------
"Any valid PHP code may appear inside a function, even other functions and
class definitions.
In PHP 3, functions must be defined before they are referenced. No such
requirement exists in PHP 4.
PHP does not support function overloading, nor is it possible to undefine or
redefine previously-declared functions. "
---------
I say:
What is function overloading?
Can a php user-defined function call itself from within itself?
thanks,
Ken