Re: *crash* on try to find out how many nesting levelsareallowed

From: Date: Sun, 09 Jul 2000 22:35:30 +0000
Subject: Re: *crash* on try to find out how many nesting levelsareallowed
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-23964@lists.php.net to get a copy of this message
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.
I agree with Andi that there should be _no_ performance decrease (if not smaller than 0,01%) implementing a protection function for infinite recursion. That´s a very rare effect. regards -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#23964) next »