Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
Heredoc syntax checkers currently run as part of evaluation. This is done because a heredoc may contain interpolation and thus the final result will not be known until the heredoc is evaluated. There are however many cases (most even) where a heredoc is just static text and this makes it possible to validate the syntax statically (and for static text then skip the check at evaluation time).
We should also add syntax checkers for PP, EPP.