<?php
$input = Array (
'2014-07-03' => Array
(
'results' => 0,
'clicks' => 0,
'contacted' => 0
),
'2014-07-02' => Array
(
'results' => 12,
'clicks' => 5,
'contacted' => 1
)
)
);
echo implode(', ', array_map(function ($entry) {
return $entry['tag_name'];
}, $input));
- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
- Parse error: syntax error, unexpected ')' in /in/vZiF6 on line 20
Process exited with code 255.
preferences:
187.31 ms | 1395 KiB | 67 Q