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

Syntax Error concat a var with modifiers #54

Open
enriqueiurleo opened this issue Feb 27, 2020 · 0 comments
Open

Syntax Error concat a var with modifiers #54

enriqueiurleo opened this issue Feb 27, 2020 · 0 comments

Comments

@enriqueiurleo
Copy link

Hi!
I found a syntax error when trying to do something like this:
`<?php

Class Example{
private static $var = 'test' . 'ing';
}
?>`

Doing the same thing outside a class without any modifier works well. But with this example the method p_static_scalar is called in the phpparse.py. After that I couldn't debug very well what is happening but it gaves me a Syntax Error after reads the concat. It does not read the second part ('ing' in this case), at least for what I saw.

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

1 participant