noxifoxi / minecraft-server-status

Lightweight Minecraft server status PHP library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse error: syntax error, unexpected '[' in /home/u337092315/public_html/MinecraftServerStatus.class.php on line 23

TopHatProductions115 opened this issue · comments

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)?

commented

Duplicate of #2