<?php $arr = [8,2,3,4];array_shift($arr);print_r($arr);
Standard input is empty
Array ( [0] => 2 [1] => 3 [2] => 4 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!