Answers for "php array second from last"

PHP
0

php get second last element of array

$array = array(5,6,70,10,36,2);
echo $array[count($array) -2];
Posted by: Guest on May-20-2021

Code answers related to "php array second from last"

Browse Popular Code Answers by Language