Skip to content

Detect use of reserved keyword names as function/method names #922

@Nikschavan

Description

@Nikschavan

For example, using list() as a method name will throw syntax error, unexpected ‘list’ (T_LIST), expecting identifier (T_STRING) on PHP versions below 7.0

https://www.php.net/manual/en/reserved.keywords.php

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions