Skip to content

[CodingStyle] version compare to constants #2008

@TomasVotruba

Description

@TomasVotruba
-version_compare(PHP_VERSION, '5.3.0', '<');
+PHP_VERSION_ID < 50300

Also for PHP_SAPI and M_PI

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions