Reply to Re: Recursive PHP?

Your name:

Reply:


Posted by Oli Filth on 12/18/05 21:19

Jørn Dahl-Stamnes said the following on 18/12/2005 18: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...
>

Ah well, you didn't say that! If you're not specific, you usually get a
condescending answer on Usenet.

What doesn't work? Did you get any error messages, etc.?

--
Oli

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация