3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emailrepeat = 'test'; $email_clean = 'test'; if(strcasecmp($emailrepeat, $email_clean) != 0){ //WILL RETURN THAT BOTH STRINGS MATCH array_push($errorMessages,'Your emails did not match'); } if(strcasecmp($email_clean, $emailrepeat) != 0){ //WILL RETURN THAT BOTH STRINGS DONT MATCH array_push($errorMessages,'Your emails did not match'); }

preferences:
52.78 ms | 402 KiB | 5 Q