3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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'; }
based on WVvoL
Output for 4.3.0 - 7.2.0
test 68b329da9893e34099c7d8ad5cb9c940INCORRECT CREDENTIALS. TRY AGAIN