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:

Hi all!

This small script:
<?

class test {
        var $a = false;
        var $x = false;

        function getA() {
                if (!$this->x) { // yep, I know, it's infinite loop

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.php

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to