1--TEST--
2Inline HTML should not be split at partial PHP tags
3--EXTENSIONS--
4tokenizer
5--INI--
6short_open_tag=0
7--FILE--
8<?php
9
10var_dump(token_get_all(<<<'PHP'
11Foo<?phpBar
12PHP));
13
14?>
15--EXPECTF--
16array(1) {
17  [0]=>
18  array(3) {
19    [0]=>
20    int(%d)
21    [1]=>
22    string(11) "Foo<?phpBar"
23    [2]=>
24    int(1)
25  }
26}
27