- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' in /in/Snr8i on line 5
Process exited with code 255.
<?php
function test()
{
reutrn ['a' => '1', 'b' => '2'];
}
var_dump($test);