PHP syntax validation change in 122

PHP 5.1 appears to happily execute a statement like this:

    $sql = "
        SELECT * FROM foo
            WHERE baz='blarg' AND

I don't see any mention on the Strings doc page that this is illegal.

However, IntelliJ 90.122 is marking multiline strings in red (indicating a syntax error).  Is there a reason for this change?  Many of my files are now littered with these red blocks.


-- James

Please sign in to leave a comment.