3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hash = "0"; for ($i = 1; $i <= 100000; $i++) { if (hash_hmac('joaat', $i, 'mysecretkey') == $hash) { echo 'Found within ' . $i . PHP_EOL; break; } }
based on VDHuD
Output for 7.2.0
Warning: hash_hmac(): Non-cryptographic hashing algorithm: joaat in /in/gYbT1 on line 6 Found within 1
Output for 5.5.0 - 7.1.10
Found within 497