Re: Calling functions recursively
| From: | Roberto Plomp | Date: | Sat, 25 Jan 2003 09:08:56 +0000 |
| Subject: | Re: Calling functions recursively | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25128@lists.php.net to get a copy of this message | ||
If you mean that it would be more straight forward, hence neater and more
comprehensive and more maintenance and stack friendly to just call the
function in a loop, I agree.
On the other hand ... well, there are arguments for the recursive approach
for a number of algorithms.
Personally I prefer not to use recursive functions, have never really seen
the absolute necessity to do so.
Roberto
----- Original Message -----
From: "Jason Wong" <php-db@gremlins.biz>
Subject: Re: [PHP-DB] Calling functions recursively
> On Saturday 25 January 2003 14:49, Kevin Gordon wrote:
> > Can functions / methods be called recursively? If so how can this be
> > done? Comments much appreciated.
>
> google > "php recursive functions"
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
>
> /*
> QOTD:
> "I've just learned about his illness. Let's hope it's nothing
> trivial."
> */