Re: Segfault in HEAD
| From: | Andi Gutmans | Date: | Thu, 01 Apr 2004 08:36:43 +0000 |
| Subject: | Re: Segfault in HEAD | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8847@lists.php.net to get a copy of this message | ||
Sterling,
It's a stack overflow caused by an infinite loop in function calls (i.e. not while/for loop).
Andi
At 10:17 AM 3/31/2004 -0800, Sterling Hughes wrote:
php5 shouldn't crash _at all_ within an infinite loop because we aren't in one big execution loop. -sterling On Mar 30, 2004, at 11:27 PM, Derick Rethans wrote:On Wed, 31 Mar 2004, Antony Dovgal wrote:-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.phpHi all! This small script: <? class test {PHP always crashes on infinite loops as you might be aware off. You'll have to live with it. regards, Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.phpvar $a = false; var $x = false;function getA() { if (!$this->x) { // yep, I know, it's infinite loop