Skip to content

PHP 5.3: Dynamic access to static methods and properties #534

@johnbillion

Description

@johnbillion

Code such as the following is not supported prior to PHP 5.3:

$class_name::method_name()

It triggers the famous unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) parse error.

It would be great if PHPCompatibility could sniff for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions