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/17 Ting Chen <[EMAIL PROTECTED]>: > > > 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 > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php