3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $testArray = array(); $height=$testArray['height']; echo('$height after getting from array: '.$height); $height=intval($height); //echo('$height after calling intval: '.$height);
Output for 5.3.0 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
Notice: Undefined index: height in /in/jhkXP on line 4 $height after getting from array:
Output for hhvm-3.12.0
Notice: Undefined index: height in /in/jhkXP on line -1 $height after getting from array:
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.2.17
Notice: Undefined index: height in /in/jhkXP on line 4 $height after getting from array:
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/jhkXP on line 8
Process exited with code 255.