Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Parse error #4

Closed
RikudouSage opened this issue Jul 26, 2016 · 4 comments
Closed

PHP Parse error #4

RikudouSage opened this issue Jul 26, 2016 · 4 comments

Comments

@RikudouSage
Copy link

RikudouSage commented Jul 26, 2016

In PokemonGoAPI-PHP/res/POGOProtos/Networking/Requests/RequestType.php on line 76 there is const ECHO = 666;.

On php 5.6.24-1 it creates parse error, because echo is reserved keyword.

@NicklasWallgren
Copy link
Owner

My bad, the problem does not affect PHP 7.0

Fixed in latest commit.

@baskettcase
Copy link

This needs to be fixed again...

@NicklasWallgren
Copy link
Owner

@baskettcase I have filled an issue on this particular error here; protocolbuffers/protobuf#2546

@NicklasWallgren
Copy link
Owner

@baskettcase Manually patched in NicklasWallgren/pogoprotos-php@8a8e699

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants