Closed unlight closed 9 years ago
http://asmblah.github.io/uniter/demo/interactive.html
<?php class A { const VERSION = '4.6.0'; }
Result: PHP Parse error: syntax error, unexpected 'c' in (program) on line 4
PHP Parse error: syntax error, unexpected 'c' in (program) on line 4
Thank you for raising this issue @unlight, I've now added support for PHP class constants in master (https://github.com/asmblah/uniter/commit/e95a41a22f49086417a04bd6a522d6c877301f83.)
master
Cheers!
http://asmblah.github.io/uniter/demo/interactive.html
Result:
PHP Parse error: syntax error, unexpected 'c' in (program) on line 4