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

[NodeResolver] allow parsing of scalar expressions #47

Merged
merged 2 commits into from
Dec 7, 2016

Conversation

lisachenko
Copy link
Member

This PR introduces support for evaluation of scalar expressions in constants and parameters for PHP>=5.6

@lisachenko lisachenko added this to the 1.1.1 milestone Dec 7, 2016
*
* Also supported is grouping static operations: (1 + 2) * 3.
*/
class ClassWithConstantExpressions

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each class must be in a file by itself

@lisachenko lisachenko merged commit b573575 into master Dec 7, 2016
@lisachenko lisachenko deleted the feature/resolving-const-scalars branch December 7, 2016 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants