Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array map

$catIds = array_map(function($o) { return $o->id;}, $objects);
Source by search.brave.com #
 
PREVIOUS NEXT
Tagged: #array #map
ADD COMMENT
Topic
Name
7+1 =