Re: a stupid question

From: Date: Wed, 19 Nov 2008 11:32:47 +0000
Subject: Re: a stupid question
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-41996@lists.php.net to get a copy of this message
thanks for answering my question, green, green, I am so green On 11/17/08, Igor Feghali <igor.feghali@gmail.com> 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 <gilltdr1008@gmail.com> 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. >

« previous php.internals (#41996) next »