3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i=0; $j=500000; while($i < 60000) { $i++; $j++; $data1[] = md5($i); $data2[] = md5($j); } $key = md5(1); $time = microtime(true); echo "Starting\n"; $test = isset($data1[$key]); $time = microtime(true) - $time; echo ' took ' . number_format($time, 3) . " seconds\n";
Output for 4.3.0 - 5.4.42, 5.4.44 - 7.1.0
Starting took 0.000 seconds
Output for 5.4.43
Starting took 0.005 seconds