Fix handling of b" in token_get_all()
Summary:
In the best PHP tradition, "single-char" tokens can actually have
more than one character... In particular b" is considered a
single-char token and token_get_all() returns string "b\"" for it.
This change brings HHVM in line with PHP behavior. Previously
HHVM returned just "\"" in this case, dropping the "b" entirely.
Closes https://github.com/facebook/hhvm/pull/7712
Differential Revision:
D4658367
Pulled By: Orvid
fbshipit-source-id:
068cd3c1bc4a4e30420c3e9eeec71baf55de60b5