php-zephir-parser
php-zephir-parser copied to clipboard
[NFR] Add support for creating classes/methods with capitalized names
From @tamaranga on February 1, 2014 9:39
It's impossible to create class:
class HTML {
}
and method:
class Test {
public function HTML() {}
}
Maybe it is not so difficult to allow such capitalized names or describe this limitation in docs. Currently it's just "ParseException: Syntax error", that is not very obvious.
Copied from original issue: phalcon/zephir#141
From @nazar-pc on December 2, 2014 4:20
I'm also wondering about this, just wanted to create such class. What is the actual limitation for this?