3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $M = array(array(2,3,4,5), array(1,6,7,8,9)); var_dump(end($M));
Output for 4.3.0 - 7.1.0
array(5) { [0]=> int(1) [1]=> int(6) [2]=> int(7) [3]=> int(8) [4]=> int(9) }