From:             tater at potatoe dot com
Operating system: 
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  == operator is not transitive

Description:
------------
In other words, you cannot assume that if $a == $b and $b == $c, then $a
== $c. (Because of type juggling - e.g. $a=0, $b='hi', $c=true.) This
seems worth spelling out in the operators section, since it's not
something people would expect, even though it is eventually covered
implicitly elsewhere.


-- 
Edit bug report at http://bugs.php.net/?id=24905&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24905&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24905&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24905&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24905&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24905&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24905&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24905&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24905&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24905&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24905&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24905&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24905&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24905&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24905&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24905&r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to