3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = Array ( [0] => Array ( [name] => application_banner ), [1] => Array ( [name] => application_banner ), [2] => Array ( [name] => application_banner_2 ) ); echo implode(', ', array_map(function ($entry) { return $entry['tag_name']; }, $input));
based on GBGS7
Output for 7.2.0
Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /in/rQ2Hh on line 6 Warning: Use of undefined constant application_banner - assumed 'application_banner' (this will throw an Error in a future version of PHP) in /in/rQ2Hh on line 6 Warning: Illegal offset type in /in/rQ2Hh on line 6 Warning: Illegal offset type in /in/rQ2Hh on line 6 Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /in/rQ2Hh on line 11 Warning: Use of undefined constant application_banner - assumed 'application_banner' (this will throw an Error in a future version of PHP) in /in/rQ2Hh on line 11 Warning: Illegal offset type in /in/rQ2Hh on line 11 Warning: Illegal offset type in /in/rQ2Hh on line 11 Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /in/rQ2Hh on line 16 Warning: Use of undefined constant application_banner_2 - assumed 'application_banner_2' (this will throw an Error in a future version of PHP) in /in/rQ2Hh on line 16 Warning: Illegal offset type in /in/rQ2Hh on line 16 Warning: Illegal offset type in /in/rQ2Hh on line 16
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant name - assumed 'name' in /in/rQ2Hh on line 6 Notice: Use of undefined constant application_banner - assumed 'application_banner' in /in/rQ2Hh on line 6 Warning: Illegal offset type in /in/rQ2Hh on line 6 Warning: Illegal offset type in /in/rQ2Hh on line 6 Notice: Use of undefined constant name - assumed 'name' in /in/rQ2Hh on line 11 Notice: Use of undefined constant application_banner - assumed 'application_banner' in /in/rQ2Hh on line 11 Warning: Illegal offset type in /in/rQ2Hh on line 11 Warning: Illegal offset type in /in/rQ2Hh on line 11 Notice: Use of undefined constant name - assumed 'name' in /in/rQ2Hh on line 16 Notice: Use of undefined constant application_banner_2 - assumed 'application_banner_2' in /in/rQ2Hh on line 16 Warning: Illegal offset type in /in/rQ2Hh on line 16 Warning: Illegal offset type in /in/rQ2Hh on line 16
Output for 5.4.10 - 5.6.28
Notice: Use of undefined constant name - assumed 'name' in /in/rQ2Hh on line 6 Notice: Use of undefined constant application_banner - assumed 'application_banner' in /in/rQ2Hh on line 7 Warning: Illegal offset type in /in/rQ2Hh on line 7 Warning: Illegal offset type in /in/rQ2Hh on line 7 Notice: Use of undefined constant name - assumed 'name' in /in/rQ2Hh on line 11 Notice: Use of undefined constant application_banner - assumed 'application_banner' in /in/rQ2Hh on line 12 Warning: Illegal offset type in /in/rQ2Hh on line 12 Warning: Illegal offset type in /in/rQ2Hh on line 12 Notice: Use of undefined constant name - assumed 'name' in /in/rQ2Hh on line 16 Notice: Use of undefined constant application_banner_2 - assumed 'application_banner_2' in /in/rQ2Hh on line 17 Warning: Illegal offset type in /in/rQ2Hh on line 17 Warning: Illegal offset type in /in/rQ2Hh on line 19
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/rQ2Hh on line 4
Process exited with code 255.