- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected '=', expecting ']' in /in/YtUTD on line 3
Process exited with code 255.
<?php
$b['ss'] = 'sds';
$c['s' = 'sd';
$a['ss'] = $b;
foreach($a as $key => $value){
$new_array[$key] = $value[0];
}
var_dump($new_array);