Re: PHP 4.0 Bug #2004: recursive call limitation
| From: | Andi Gutmans | Date: | Tue, 10 Aug 1999 19:52:18 +0000 |
| Subject: | Re: PHP 4.0 Bug #2004: recursive call limitation | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-9731@lists.php.net to get a copy of this message | ||
At 07:46 PM 8/10/99 +0200, Sascha Schumann wrote:
Bullshit. ASP has a similar limited and it's a computer language. If you need to run scripts that have 1 million nesting level than you shouldn't be using a scripting language and you should be using C, Fortran, or C++. Just to play nit picker once again, ASP is not a computer language, but a container for computer languages such as VBscript (or how it's called today).Yeah you're right :) I mentioned ASP because the ASP (IIS) stack size is the same for VBScript and JScript and it's pretty limited. In any case Gregori, I didn't mean to be rude or anything. It was just that the "sad isn't it" quote kind of got to me :) I'm not going to go into the technical stuff anymore then I have. I suggest you try the emalloc(), efree() solution I suggested and let us know if it's good enough for what you need. But if you have very heavy recursive mathematical computations I really suggest you either go with Sascha's suggestion of going iterative, or write a PHP C module that will support your math stuff. If it's pretty much general purpose it'll go into the PHP 4.0 tree. --- Andi Gutmans <andi@zend.com> http://www.zend.com/