3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = microtime(); echo $salt . ' '; $generated_token = MD5('$salt' . rand(1, 100)); //echo $generated_token. '<br>'; for($token=1;$token<10;++$token){ if($generated_token == $token) echo 'true'; else echo 'false'; } ?>

preferences:
46.62 ms | 402 KiB | 5 Q