Page MenuHomePhabricator

XHPAST fails to recognize inline HTML starting with "<?php"
Open, Needs TriagePublic

Description

XHPAST does not properly handle the following code

<?phpquack

This PHP code is valid and should tokenize to T_INLINE_HTML. Instead, an exception is thrown:

XHPAST Parse Error: syntax error, unexpected $end on line 1

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: XHPAST.
joshuaspence added a subscriber: joshuaspence.