php array remove the last element

38

$new = array_slice($old, -1)
$a5 = array_slice($arr, -5);

Comments

Submit
0 Comments