Date: 07/09/00
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] *crash* on try to find out how many nesting levels are allowed"
- Previous message: Stanislav Malyshev: "Re: [PHP-DEV] *crash* on try to find out how many nesting levelsare allowed"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] *crash* on try to find out how many nesting levelsare allowed"
- Next in thread: waldschrott: "Re: [PHP-DEV] *crash* on try to find out how many nesting levelsareallowed"
- Reply: waldschrott: "Re: [PHP-DEV] *crash* on try to find out how many nesting levelsareallowed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stanislav Malyshev wrote:
>
> SC>> somehow recognizable, or it can simply timeout. Allowing it to crash
> SC>> because 'infinite recursion leads to crash' is pathetic. If it crashes,
> SC>> it can be fixed.
>
> Just let me to get to your box with that lovely hammer of mine, and we'll
> talk about "if it crashes, it can be fixed" ;)
That's why I keep my address private! ;-)
> Seriously, there are conditions of which PHP is unable to recover as of
> now. Two known are "no memory" and "no stack" conditions. There's no good
> way on Unix to gracefully recover from this condition, without generally
> slowing down execution. If you know such a way, you are welcome to propose
> it.
But seriously, HOW MUCH would it slow down? Are we talking 5% or 50%?
Considering the speed increase php4 has over php3, I wouldn't mind
loosing 5% to provide additional stability. If it were significantly
higher, then rather than saying something like 'dont do it and it wont
crash', provide the explanation that protecting against such a crash
would slow down php so much that it isn't worth it, so you just have to
pay attention to your scripting.
> --
> Stanislav Malyshev stas <email protected>
> +972-3-6139665
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] *crash* on try to find out how many nesting levels are allowed"
- Previous message: Stanislav Malyshev: "Re: [PHP-DEV] *crash* on try to find out how many nesting levelsare allowed"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] *crash* on try to find out how many nesting levelsare allowed"
- Next in thread: waldschrott: "Re: [PHP-DEV] *crash* on try to find out how many nesting levelsareallowed"
- Reply: waldschrott: "Re: [PHP-DEV] *crash* on try to find out how many nesting levelsareallowed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

