<?php $js = ['maps' => ['global' => '', 'onready' => '']]; $final_js = array_reduce($js, function($c, $i){return $c . ($i['global'] ?? '');}, ''); var_dump($final_js);
You have javascript disabled. You will not be able to edit any code.