Skip to content

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

Open
@sergeyklay

Description

@sergeyklay

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions