3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time = microtime(); $a = range(1,100000); foreach ($a as $i) { isset($a['asd']); } echo microtime() - $time; echo "\n"; $time = microtime(); $a = range(1,100000); foreach ($a as $i) { array_key_exists('asd', $a); } echo microtime() - $time;
Output for 5.6.30
0.03465 0.071001
Output for 5.6.29
0.031356 0.060087