3v4l.org

run code in 200+ 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 '[', expecting ')' in /in/7fPrv on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/7fPrv on line 3
Process exited with code 255.