Closed kdambekalns closed 8 years ago
This allows ReflectionConstant to parse scalar expressions when defining constants, such as:
const FOO = 1 ** 2; const BAR = array(1 => 'one'); const BAZ = 'foo' . 'bar'; const QUX = \Acme\Com\Demo::class;
Should fix #62 and #69.
Ok, now I realized the unit tests fail massively, even without that change. I started to fix them, but for now have to get back to work.
Switched to a different library for my latest project…
This allows ReflectionConstant to parse scalar expressions when defining constants, such as:
Should fix #62 and #69.