Deprecated: Return type of Test::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/SoLW6 on line 14
[1,2][1,2]
Parse error: syntax error, unexpected '[' in /in/SoLW6 on line 15
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/SoLW6 on line 3
Parse error: syntax error, unexpected '[' in /in/SoLW6 on line 15
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/SoLW6 on line 3
Parse error: parse error, unexpected '[' in /in/SoLW6 on line 15
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting '{' in /in/SoLW6 on line 3
Process exited with code 255.