Archive for July 29th, 2008

PHP == or ===

July 29th, 2008

Many PHP developers get confused when using the comparison operators.  Mainly weather to us two equal signs or three.  It really is a simple concept when you understand what it does.  The double equal sign (==) compares two data types which don’t have to be in the same type.  So for example you can compare
$a [...]