Hey, if you have got the following code and want to check if $key matches Hello I\'ve found out, that the comparison always returns true
$key
Hello
true
In php, the string "0" is converted to the boolean FALSE http://php.net/manual/en/language.types.boolean.php