-
Notifications
You must be signed in to change notification settings - Fork 28
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
Parser Error #14
Comments
I have the same issue. BTW looking at the build_extension.php, I would suggest to rewrite the file using standard Symfony console and Filesystem components. This way it will be testable. The utility does not work on ubuntu either. I have downloaded the lastest version of Zephir and it does not contain any "install-json" utility!!! |
not working on windows ! |
I tested this exclusively on linux box so I did not try windows... |
@jimthunderbird You can use http://appveyor.com/ |
I'm hitting the same issue on Ubuntu, I've cloned json-c to get past that issue but now hitting the initial error above, did anybody resolve it? |
Issue looks to be with src/PHPtoCExt/Converter/CodeReformatConverter.php I'll pick this up and post any solution here |
The issue is that the code is assuming the contents of the lines in the ASTXMLLines array rather than parsing it as XML, Converter.c needs + 11 changed to + 17 to cater for extends and implements (presumably new since the version of php that this was originally written for) Guessing we'll probably see other similar issues, hope this helps someone. |
Error: PHP Parser Error: Syntax error, unexpected '<', expecting T_STRING on line 3
File Name#
Dummy.php
Code#
The text was updated successfully, but these errors were encountered: