PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $arr = [ 'RoadServiceAutos' => [[ 'RoadServices' => [['CountryAlpha2Code' => 'RU']] ]] ]; $arr['RoadServiceAutos'] = $arr['RoadServiceAutos'][0]; $arr['RoadServiceAutos']['RoadServices'] = $arr['RoadServiceAutos']['RoadServices'][0]; print_r($arr);
Show:  
Copy Clear