3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( 0 => 'x', 1 => 'y', 2 => 'z', ); echo $array[false]; echo $array[null];
based on FWXWg
Output for 5.3.0 - 7.1.0
x Notice: Undefined index: in /in/2R9gj on line 10
Output for 4.3.0 - 5.2.17
x Notice: Undefined index: in /in/2R9gj on line 10