Parse error
qazimusab opened this issue · comments
Qazi Musab Ahmed commented
I just copied over the example to my server and am getting this error in RestServer.php:
Parse error: syntax error, unexpected '[' in /home/content/46/12363346/html/gomedina/REST/RestServer-master/RestServer-master/source/Jacwright/RestServer/RestServer.php on line 260
Jacob Wright commented
This is because you are using an older version of PHP (< 5.4). There is no reason we need to use the newer syntax however. I will make a fix for this.
Jacob Wright commented
Fixed in 8cc8ae9 and is in master. Let me know if that worked for you.