1--TEST--
2Inline HTML should not be split at partial PHP tags
3--SKIPIF--
4<?php if (!extension_loaded("tokenizer")) print "skip tokenizer extension not enabled"; ?>
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