PHP String Compare &#8211; Functions in PHP