<?php function foo($a) { print $a."\n"; } $products = array(5,6,7); $kp = "test:"; foo(array_map(function($product) use ($kp) { return $kp . $product; }, $products));
You have javascript disabled. You will not be able to edit any code.