<?php $arr = [1,2,3,4,5]; $spliced = array_splice($arr, 2, 1); var_dump( $spliced); $number = array_shift($spliced); echo $number;
You have javascript disabled. You will not be able to edit any code.