Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get first element of array

$firstKey=array_keys($arr)[0];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #element #array
ADD COMMENT
Topic
Name
5+4 =