Page MenuHomePhabricator

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

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.
epriestley moved this task from Backlog to Future on the XHPAST board.Apr 7 2020, 1:31 PM
epriestley triaged this task as Wishlist priority.Apr 7 2020, 1:31 PM