Skip to content

Syntax Error concat a var with modifiers #54

@enriqueiurleo

Description

@enriqueiurleo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions