Option 1:
if ( $a == $b && $a == $c && $a == $e ) Option 2:
if ( preg_match("/^$a/", $b) && preg_match("/^$a/", $c) && preg_match("/^$a/", $e) ) Which one to choose and why?
PS I assume that the first option is performed faster, but still, I want to hear the opinions of users who really know.