I am sharing my work with some team. On my side, this line json_encode(['Succeeded'])
works perfectly, on the team side this fails with this message
Parse error: syntax error, unexpected '[', expecting ')' in /home/app/file.php on line *
Why is this so ?