Re: Infinite loop

From: Date: Sat, 13 Mar 2004 13:39:36 +0000
Subject: Re: Infinite loop
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-8503@lists.php.net to get a copy of this message
Hi, On 13 Mar 2004, at 14:28, Joe Estock wrote:
My question is this: Shouldn't there be some type of detection for this that would at least cause PHP to throw a warning?
while(1); or for(;;;); result in an infinite loop, too and there are cases where it is intentional. PHP is not there to check for programming mistakes. Also, see the archives for more discussion on this. Regards, Jan (no-guru) -- GPG Key: BB96 56B0 Q: Thank Jan? - A: http://geschenke.an.dasmoped.net/

« previous php.internals (#8503) next »