Parse error: syntax error, unexpected ‘->’ (T_OBJECT_OPERATOR) on mobile but not on desktop
I made this project on my laptop and it works fine. I wanted to get it to work on my phone so I downloaded a web server (AWebServer) onto my phone (android). When I opened the file on my phone I got this error: Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR)
.