3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = "test"; $password = "\n"; $authString = $username . " " . md5($password); $file = "test\n"; echo $authString; if (strpos($file, $authString) !== FALSE ){ echo "LOGIN SUCCESS"; } else { echo 'INCORRECT CREDENTIALS. TRY AGAIN'; }

preferences:
50.37 ms | 402 KiB | 5 Q