Posted by Jψrn Dahl-Stamnes on 12/18/05 20:29
Oli Filth wrote:
> JΓΈrn Dahl-Stamnes said the following on 18/12/2005 09:42:
>> Do PHP support recursive calling, like this:
>>
>> function some_func ($some_arg)
>> {
>> $count = 0;
>> // some code
>> while (<some condition>)
>> {
>> if (<some condition>)
>> {
>> $count += some_func ($some_arg);
>> } else {
>> ++$count;
>> }
>> }
>> return $count;
>> }
>>
>
> Did you not think to just try it out?
Yes, I did and it did not seem to work. I asked becasue maybe there was some
hack etc that I needed to do before it worked...
--
JΓΈrn Dahl-Stamnes
http://www.dahl-stamnes.net/dahls/
[Back to original message]
|