I have a platform that I developed using Zend Framework 3.0.
This platform works on the site but when I migrated it to the server, it throws multiple errors with this syntax :
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) in /home/gowebsales/vendor/zendframework/zend-form/src/FormElementManager/FormElementManagerV3Polyfill.php online 37
My platform is running PHP in version 5.6. The server is running 5.4.
What changes do I need to make to resolve this problem?