Answers for "php get the value of first elemnt in array"

PHP
2

get first element of array php

array_values($array)[0];
Posted by: Guest on May-31-2021
0

get first element of array php

reset($array);
Posted by: Guest on January-14-2022

Code answers related to "php get the value of first elemnt in array"

Browse Popular Code Answers by Language