Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php loop through array shorthand

array_map(function($person) { echo $person->name; }, $people);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #loop #array #shorthand
ADD COMMENT
Topic
Name
4+7 =