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

[NFR] Add support for creating classes/methods with capitalized names #141

Closed
tamaranga opened this issue Feb 1, 2014 · 2 comments
Closed
Labels
nfr New Feature Request

Comments

@tamaranga
Copy link
Contributor

tamaranga commented Feb 1, 2014

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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1431269-nfr-add-support-for-creating-classes-methods-with-capitalized-names?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).
@nkt nkt changed the title All capitalized in class/method names [NFR] Add support for creating classes/methods with capitalized names Mar 28, 2014
@nkt nkt added NFR labels Mar 28, 2014
@nkt nkt mentioned this issue Sep 14, 2014
@nazar-pc
Copy link

nazar-pc commented Dec 2, 2014

I'm also wondering about this, just wanted to create such class.
What is the actual limitation for this?

@sergeyklay
Copy link
Contributor

This issue was moved to zephir-lang/php-zephir-parser#17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nfr New Feature Request
Projects
None yet
Development

No branches or pull requests

4 participants