3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('l' => 'foo', null => 'bar'); var_dump(isset($a[null])); var_dump(isset($a['4'])); var_dump(isset($a['l'])); var_dump($a[null]); var_dump($a);
Output for 4.3.0 - 7.1.0
bool(true) bool(false) bool(true) string(3) "bar" array(2) { ["l"]=> string(3) "foo" [""]=> string(3) "bar" }