Re: [PHP-DEV] a stupid question

2008-11-19 Thread Ting Chen
s 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 <[EMAIL PROTECTED]> wrote: > > i am recently

Re: [PHP-DEV] a stupid question

2008-11-17 Thread 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 <[EMAIL PROTECTED]> wrote: > 2008/11/1

[PHP-DEV] a stupid question

2008-11-17 Thread 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. Thanks ahead, green green~~ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php