3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 'height' => 20, 'length' => 10 ); if (($arr['width'])) { echo $arr['width']; } else { echo 'coming'; }
Output for 5.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Undefined index: width in /in/S4h2o on line 8 coming
Output for hhvm-3.10.0
Notice: Undefined index: width in /in/S4h2o on line 21 coming
Output for 4.3.0 - 5.2.17
Notice: Undefined index: width in /in/S4h2o on line 8 coming