3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(15 => null, 16 => true); var_dump(array_key_exists(15, $a)); var_dump(isset($a[15])); var_dump(array_key_exists(16, $a)); var_dump(isset($a[16]));
Output for 4.3.0 - 7.2.0
bool(true) bool(false) bool(true) bool(true)