<?php
//echo (poof())[0];
echo whatwhat()->one;
function uhuh()
{
return [ "unicorn!", "wand!", "magic!" ];
}
function whatwhat()
{
return { 'one' => "unicorn!", 'two' => "wand!", 'three' => "magic!" };
}
- Output for 5.4.0 - 5.4.12, 5.4.14
- Parse error: syntax error, unexpected '{' in 0Vd2d on line 14
Process exited with code 255. - Output for 5.4.13
- Parse error: syntax error, unexpected '{' in /in/ISk3a on line 14
Process exited with code 255. - Output for 5.3.0 - 5.3.22, 5.3.24
- Parse error: syntax error, unexpected '[' in 0Vd2d on line 8
Process exited with code 255. - Output for 5.3.23
- Parse error: syntax error, unexpected '[' in /in/ISk3a on line 8
Process exited with code 255.
preferences:
175.19 ms | 1395 KiB | 47 Q