Date: 08/09/99
- Next message: christophe.massiot <email protected>: "[PHP-DEV] PHP 4.0 Bug #2008: Memory leak in pgsql.c"
- Previous message: Steven Lawrance: "Re: [PHP-DEV] PHP 4.0 Bug #2000: Compile fails with freetype installed"
- In reply to: gregori <email protected>: "[PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Next in thread: gregori: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Reply: gregori: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Did you try with the latest CVS version of PHP 4.0? There was a leak in the
stack which I fixed a couple of weeks ago. What is the deepest nesting
level you need? Tens, hundreds, or thousands?
Andi
At 02:52 PM 8/9/99 +0000, gregori <email protected> wrote:
>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>
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- 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 #2008: Memory leak in pgsql.c"
- Previous message: Steven Lawrance: "Re: [PHP-DEV] PHP 4.0 Bug #2000: Compile fails with freetype installed"
- In reply to: gregori <email protected>: "[PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Next in thread: gregori: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Reply: gregori: "Re: [PHP-DEV] PHP 4.0 Bug #2004: recursive call limitation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

