Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41976 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17800 invoked from network); 17 Nov 2008 13:22:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Nov 2008 13:22:33 -0000 Authentication-Results: pb1.pair.com header.from=gilltdr1008@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=gilltdr1008@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.200.171 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.171 wf-out-1314.google.com Received: from [209.85.200.171] ([209.85.200.171:56360] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/A6-17095-81071294 for ; Mon, 17 Nov 2008 08:22:33 -0500 Received: by wf-out-1314.google.com with SMTP id 26so2460644wfd.26 for ; Mon, 17 Nov 2008 05:22:29 -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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=arqRZfeEijk53svx2Tilk6EJ2dh8wnx37I13n6EVIDc=; b=Bf/aY6RUFvdUC9QNBukWQBTtSAMUORuNs6wj0BgPRpkG7z+TzOuKfGfXvBfmkP6rDd eVt3LKBlWDyhpLn6oJQTSju/SgxNknvVSzhAvfXRf+JGEBRo+Gtnv5vfDVR74Wsavbad 52OiGKu9SkDWPZC40lNTTVKiIK1quU1EkkOrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KJkVrS42KWxCOZuq0v1TfJyfq98utDIikIStC2zLpWZH0/ErSjZGz2D+Ba+Tk7oISU Ys6PiCnPlIP35RVAf0xTnEjIeSnWUo/ziUmy+hyqTBuqJlmFhwK6hiTMmn9IgkaL6E1u LB8l4VgEcBXPihcwXCCck8OSFkprfrXrBfaNc= Received: by 10.142.153.7 with SMTP id a7mr1973506wfe.232.1226928149381; Mon, 17 Nov 2008 05:22:29 -0800 (PST) Received: by 10.142.97.6 with HTTP; Mon, 17 Nov 2008 05:22:29 -0800 (PST) Message-ID: <229284780811170522p6b8bfdd5id35875a3f7ba236@mail.gmail.com> Date: Mon, 17 Nov 2008 05:22:29 -0800 To: 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> Subject: Re: [PHP-DEV] a stupid question From: gilltdr1008@gmail.com ("Ting Chen") 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. green geen still green~ On 11/17/08, Andrew Rose wrote: > 2008/11/17 Ting Chen : > > > Hi everybody, > > > > sorry this is a greenhand's stupid question. Why isn't "0.0" false? I > > know it is a string but I still think it equals to 0. > > > > > I think you answered your own question there. > > > Andrew >