Skip to content

String will likely become a reserved word in PHP 7 #128

Closed
@leedavis81

Description

@leedavis81

Although the whole Scalar Type Hint implementation is up in the air, it's very likely that string will become a reserved word in PHP 7: https://wiki.php.net/rfc/scalar_type_hints#reserve_for_future_use
For this reason it might be worth looking into using a different name for this class:

https://github.com/justinrainbow/json-schema/blob/master/src/JsonSchema/Constraints/String.php

Just a heads-up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions