3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = Array ( [0] => Array ( [id] => 11993 [label] => location-11993 (WSJFBFF22) [site] => Array ( [id] => 1842 [label] => VidiReports [network] => Array ( [id] => 768 [label] => Telstra by Mandoe Media ) ) ) ) Array ( [0] => Array ( [id] => 11976 [label] => location-11976 (7H49F22) [site] => Array ( [id] => 1842 [label] => VidiReports [network] => Array ( [id] => 768 [label] => Telstra by Mandoe Media ) ) ) ) Array ( [0] => Array ( [id] => 11952 [label] => location-11952 (WSJFBFF22) [site] => Array ( [id] => 1842 [label] => VidiReports [network] => Array ( [id] => 768 [label] => Telstra by Mandoe Media ) ) ) ) Array ( [0] => Array ( [id] => 11953 [label] => location-11953 (WSBZSDF22) [site] => Array ( [id] => 1842 [label] => VidiReports [network] => Array ( [id] => 768 [label] => Telstra by Mandoe Media ) ) ) ) Array ( [0] => Array ( [id] => 11962 [label] => location-11962 (WSBH49F22) [site] => Array ( [id] => 1842 [label] => VidiReports [network] => Array ( [id] => 768 [label] => Telstra by Mandoe Media ) ) ) ) Array ( [0] => Array ( [id] => 11974 [label] => location-11974 (storefront1) [site] => Array ( [id] => 1842 [label] => VidiReports [network] => Array ( [id] => 768 [label] => Telstra by Mandoe Media ) ) ) ) Array ( [0] => Array ( [id] => 11978 [label] => location-11978 (storefront2) [site] => Array ( [id] => 1842 [label] => VidiReports [network] => Array ( [id] => 768 [label] => Telstra by Mandoe Media ) ) ) ) Array ( [0] => Array ( [id] => 11979 [label] => location-11979 (WSJH49F22) [site] => Array ( [id] => 1842 [label] => VidiReports [network] => Array ( [id] => 768 [label] => Telstra by Mandoe Media ) ) ) ) echo implode(', ', array_map(function ($entry) { return $entry['tag_name']; }, $input));
based on ltBZ0
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.35
Parse error: syntax error, unexpected '[', expecting ')' in /in/sIrRe on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[', expecting ')' in /in/sIrRe on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/sIrRe on line 2
Process exited with code 255.