<?php $datas = simplexml_load_string('<foo><bar>1</bar><bar>2</bar></foo>'); $menu = array_map(function($data) { return data; }, $datas->bar);
You have javascript disabled. You will not be able to edit any code.