Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41996 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80328 invoked from network); 19 Nov 2008 11:32:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2008 11:32:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=gilltdr1008@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=gilltdr1008@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.200.173 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: gilltdr1008@gmail.com X-Host-Fingerprint: 209.85.200.173 wf-out-1314.google.com Received: from [209.85.200.173] ([209.85.200.173:4818] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/31-06451-169F3294 for ; Wed, 19 Nov 2008 06:32:50 -0500 Received: by wf-out-1314.google.com with SMTP id 26so3426610wfd.26 for ; Wed, 19 Nov 2008 03:32:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=D4bWi17aMKPZatfuFopEaPiFCsaJyUlBDvovxRzGxls=; b=XbnRzTvFz7+hN1RPwETibfcmepDhXrJ7GLdxLvhT7Q4KcZS3g13v7L+wwCb9yyBNUD 07WTAhaxbgjrWb4EFM16d3iI4L6cWQDtfwaYyMdQLfM0RMfLLBXE8H8p1Pj8RLBrFObJ UGcjGJAkiKWyhX/sjrz9uI5lUjM1TaIgABgdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=f78ocx7qPdNCFbz4FVrnx/ddW687ITwsymGZBk2BKd2Rk3Rsm2vgP+GxFH3PDzY5nj FPppy3Z1/NJgjs7gzG4BultDqsdm/ilJIRQqctZhKD7RkzJWCKxcavcQH404ohcVR8NT 5LQmmOWJMvk0MUPAJ8atkaCuu1YUrrKfeJHLU= Received: by 10.142.156.2 with SMTP id d2mr484316wfe.255.1227094367378; Wed, 19 Nov 2008 03:32:47 -0800 (PST) Received: by 10.142.97.6 with HTTP; Wed, 19 Nov 2008 03:32:47 -0800 (PST) Message-ID: <229284780811190332r5e76f048x4da75228bab8c909@mail.gmail.com> Date: Wed, 19 Nov 2008 03:32:47 -0800 To: "Igor Feghali" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <229284780811170445r46ad09d6tc1c295b4395fd5b2@mail.gmail.com> <229284780811170522p6b8bfdd5id35875a3f7ba236@mail.gmail.com> Subject: Re: [PHP-DEV] a stupid question From: gilltdr1008@gmail.com ("Ting Chen") thanks for answering my question, green, green, I am so green On 11/17/08, Igor Feghali wrote: > maybe because "0" evaluating to false is already enough and everything > after that would be "forcing" too much. If "0.0" evaluates to false > then I would ask, why "0.0E1" doesn't ? What about "0.0E2" ? "0.0E10" > ? etc. Just my opinion. > > regards, > > Igor. > > > On Mon, Nov 17, 2008 at 11:22 AM, Ting Chen wrote: > > i am recently studying Php5 manul. This is one of the examinations in > > the book. The answer is "0.0" is true rather than false. I am very > > curious about why if the answer is not wrong. >