3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hashes = array(); $collisions = 0; for($i=0; $i < 60000; $i++){ $hash = hash("crc32", $i); if (in_array($hash, $hashes)) { $collisions++; } else { array_push($hashes, $hash); } } echo $collisions; ?>
based on NlpBa
Output for 5.3.9 - 7.1.0

Process exited with code 137.