3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 'foo' => 'bar', 'key' => 'value' ); $start = time(true); $a = isset($arr['foo']); $b = isset($arr['bar']); var_dump(time(true) - $start); $start = time(true); $a = array_key_exists('foo', $arr); $b = array_key_exists('bar', $arr); var_dump(time(true) - $start);
Output for 4.3.0 - 7.1.0
int(0) int(0)