The most recent comment on PHP\'s in_array() help page (http://uk.php.net/manual/en/function.in-array.php#106319) states that some unusual results occur as a re
763 == true because true equals anything not 0, NULL or '', same thing for array because it is a value (not an object).
To circumvent this problem you should pass the third argument as TRUE to be STRICT and thus, is_rray will do a === which is a type equality so then
763 !== true
and neither will array() !== true