Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array fill key use in php project

$arrays = [[1, 2], [3, 4], [5, 6]];
 
foreach ($arrays as list($a, $b)) {
    $c = $a + $b;
    echo($c . ', '); // 3, 7, 11, 
}
Source by code.tutsplus.com #
 
PREVIOUS NEXT
Tagged: #array #fill #key #php #project
ADD COMMENT
Topic
Name
8+9 =