<?php $a = [ "test", "test2" ]; $b = [1, 2]; echo implode(', ', array_map(function ($entry, $entry2) { return $entry . "(" . $entry2 . ")"; }, $a, $b));
You have javascript disabled. You will not be able to edit any code.