Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-07 Thread Boian Bonev
hi, indeed it is theoretically impossible to track this :) implement a recursive alrorithm for something e.g.: function foo($n) { // calc $n! if ($n=1) return $n; else return foo($n-1)*$n; } now tell me if it is infinite or finite? ;-) this is a

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread André Langhorst
why didn't you make it a Feature Request then? But I suppose you tried, and wasn't be able to do that. Jani, is this a bug in the bugsystem? I did! it was just put into a rhetorical question ;) andr -- Andr Langhorstt: +49 571 3201801 [EMAIL PROTECTED]m: +49 173 9558736 PHP

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread Boian Bonev
hi, indeed it is theoretically impossible to track this :) implement a recursive alrorithm for something e.g.: function foo($n) { // calc $n! if ($n=1) return $n; else return foo($n-1)*$n; } now tell me if it is infinite or finite? ;-) this is a verification and cannot