PHP 4.0 Bug #2004: recursive call limitation

From: Date: Mon, 09 Aug 1999 14:52:53 +0000
Subject: PHP 4.0 Bug #2004: recursive call limitation
Groups: php.dev 
Request: Send a blank email to php-dev+get-9680@lists.php.net to get a copy of this message
From: gregori@datanetms.co.uk 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

« previous php.dev (#9680) next »