3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = ['asd' => false]; $time = microtime(); foreach (range(1,100000) as $i) { isset($a['asd']); } echo microtime() - $time; echo "\n"; $time = microtime(); foreach (range(1,100000) as $i) { array_key_exists('asd', $a) && !is_null($a['asd']); } echo microtime() - $time;
Output for 5.6.30
0.041842 0.095582
Output for 5.6.29
0.039317 0.061637