3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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.4.0 - 5.4.30
Parse error: syntax error, unexpected ''clicks'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/ZegVJ on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/ZegVJ on line 6
Process exited with code 255.