Index: src/parser/xhpast/__tests__/data/php-binary-literal.php.expect =================================================================== --- /dev/null +++ src/parser/xhpast/__tests__/data/php-binary-literal.php.expect @@ -0,0 +1,47 @@ +{ + "tree" : [ + 9000, + 0, + 2, + [ + [ + 9006, + 0, + 2, + [ + [ + 9007, + 0, + 0 + ], + [ + 9004, + 1, + 2, + [ + [ + 9086, + 1, + 1 + ] + ] + ] + ] + ] + ] + ], + "stream" : [ + [ + 371, + 6 + ], + [ + 307, + 4 + ], + [ + 59, + 1 + ] + ] +} Index: src/parser/xhpast/__tests__/data/php-binary-literal.php.test =================================================================== --- /dev/null +++ src/parser/xhpast/__tests__/data/php-binary-literal.php.test @@ -0,0 +1,2 @@ +# fail-syntax +