Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

wrong parsing of short form of ternary if with no spaces $rows?:false; #56

@Techmind

Description

@Techmind

echo '<?php $x = $rows?:false;' > test.php
sgrep -e 'reset(X->Y(...));' test.php
warning: parsing problem in /home/ibogunov/test.php

echo '<?php $x = $rows ? : false;' > test.php
sgrep -e 'reset(X->Y(...));' test.php

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