Always use deep equals!

preg_match() returns 1 if the pattern matches given subject, 0 if it does not, or FALSE if an error occurred.