- Output for 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected ';' in /in/SAS0i on line 5
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected '[' in /in/SAS0i on line 2
Process exited with code 255.
<?php
$array = ['banana','apple','corn',['pear','coconut']];
echo'<pre>';
print_r(array_map(array_fill_keys($array,[],$array);
print_r(array_fill_keys($array,[]));