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 #17

Open
sergeyklay opened this issue May 13, 2017 · 1 comment
Open

Comments

@sergeyklay
Copy link
Contributor

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.

--- 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).

Copied from original issue: zephir-lang/zephir#141

@sergeyklay
Copy link
Contributor Author

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?

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

No branches or pull requests

1 participant