From:             [EMAIL PROTECTED]
Operating system: win2k
PHP version:      4.0.5
PHP Bug Type:     Feature/Change Request
Bug description:  ((true) && (true)) to return bool

(true) 
returns a bool while
((true) && (true)) 
returns an int. 
so

(((true) && (true)) == true)
"works" while
(((true) && (true)) === true)
doesnt. 

i really don't like this behavior. 

maybe you can forward also that 
http://www.php.net/manual/en/function.gettype.php 
doesn't document the NULL datatype you get (on null and unset values).

thanx
fab



-- 
Edit Bug report at: http://bugs.php.net/?id=10940&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to