Newer PHP versions allow almost any expression in the definition of a constant, as long as it is actually constant. This is hard to test in the parser (and impossibly in the grammar definition) though, so this diff just allows any expression.
Details
Details
- Reviewers
zhigalin - Group Reviewers
KDevelop - Commits
- R52:3a8ad5cc279b: Allow non-scalar constants in PHP language support
I edited some tests to make sure the new behaviour is allowed.
Diff Detail
Diff Detail
- Repository
- R52 KDevelop: PHP Support
- Lint
Lint Skipped - Unit
Unit Tests Skipped