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.033233 0.031572
Output for 5.6.29
0.034302 0.040151