Date: 08/09/99
- Next message: christophe.massiot <email protected>: "[PHP-DEV] PHP 4.0 Bug #2005: Header() with CGI version produces unwanted output (memory leak ?)"
- Previous message: gregori: "[PHP-DEV] Re: PHP 4.0 Bug #1901 Updated: recursive call limitation"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Reply: Andi Gutmans: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Maybe reply: gregori: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Maybe reply: Andrey Zmievski: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: gregori <email protected>
Operating system: linux (Redhat 6)
PHP version: 4.0 Beta 1
PHP Bug Type: Feature/Change Request
Bug description: recursive call limitation
I dunno where to reply to that ... so I do it here :
> PHP 4.0 (Zend) uses the stack for intensive data, rather than using
> the heap. That means that its tolerance recursive functions
> is significantly lower than that of other languages.
> It's relatively easy to tell Zend not to use the stack for this
> data, and use the heap instead - which would greatly increase the
> number of recursive functions possible - in the price of reduced
> speed. If you're interested in such a setting, let me know, we
> may add a compile-time switch.
We definitly need a such flag.
Recursive functions are really usefull when you want to do some
mathematics or work with directory tree for instance.
By the way ... if there are a little stack ... I think we could have
problem with big script ... I could imagine a script who call a couple
of functions who have a lot of parameters !? It could be a problem !? No
!?
It's a bit scaring to have a such limitation !?
thank you if you could add that,
gregori
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: christophe.massiot <email protected>: "[PHP-DEV] PHP 4.0 Bug #2005: Header() with CGI version produces unwanted output (memory leak ?)"
- Previous message: gregori: "[PHP-DEV] Re: PHP 4.0 Bug #1901 Updated: recursive call limitation"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Reply: Andi Gutmans: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Maybe reply: gregori: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Maybe reply: Andi Gutmans: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Maybe reply: Andrey Zmievski: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

