PHP: strpos: zero or false?
Self-tutoring about PHP comparisons: the tutor begins… In PHP, == means “compare for equality” whereas === means “compare for same type and equality.” Sometimes the difference is important. strpos(longstring, shortstring) tells where, in the longstring, you will find the shortstring. …