Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8503 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92942 invoked by uid 1010); 13 Mar 2004 13:39:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92790 invoked from network); 13 Mar 2004 13:39:36 -0000 Received: from unknown (HELO jan.prima.de) (62.72.86.57) by pb1.pair.com with SMTP; 13 Mar 2004 13:39:36 -0000 Received: from [10.0.1.2] (pD9E13FB8.dip.t-dialin.net [::ffff:217.225.63.184]) (AUTH: LOGIN jan) by jan.prima.de with esmtp; Sat, 13 Mar 2004 13:39:33 +0000 In-Reply-To: <20040313132826.70088.qmail@pb1.pair.com> References: <20040313132826.70088.qmail@pb1.pair.com> Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: Content-Transfer-Encoding: 7bit Cc: internals@lists.php.net Date: Sat, 13 Mar 2004 14:39:36 +0100 To: Joe Estock X-Mailer: Apple Mail (2.612) Subject: Re: [PHP-DEV] Infinite loop From: jan@php.net (Jan Lehnardt) 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/