Parse error: syntax error, unexpected '[' in /home/u337092315/public_html/MinecraftServerStatus.class.php on line 23
TopHatProductions115 opened this issue · comments
TopHatProductions115 commented
I was attempting to use the server status file when I noticed that everywhere I included the file, this error message followed during testing:
Parse error: syntax error, unexpected '[' in /home/u337092315/public_html/MinecraftServerStatus.class.php on line 23
Is this an error on my part? I have been studying the code I have written for days, to no avail. The server I am using currently supports Php 5. Could php versions be a problem (if the script was written in an older version of php)?