3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $js = ['maps' => ['global' => '', 'onready' => '']]; $final_js = array_reduce($js, function($c, $i){return $c . ($i['global'] ?? '');}, ''); var_dump($final_js);
Output for 7.3.0rc3
string(0) ""