Skip to content

Doesn't support ?? operator #33

@bugfolder

Description

@bugfolder

The null coalescing operator ?? gets dropped.

$foo = $bar ?? $baz; becomes
$foo = $bar $baz;

This was introduced in PHP 7, so shouldn't be used in contrib modules that are supporting back to PHP 5.3, but users might be converting custom modules that are only intended to run on PHP 7 and above.

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