1--TEST--
2Edge case: T_STRING<as> as T_STRING<?>
3--FILE--
4<?php
5
6trait TraitA
7{
8    public static function as(){ echo __METHOD__, PHP_EOL; }
9}
10
11class Foo
12{
13    use TraitA  {
14        as as try;
15    }
16}
17
18Foo::try();
19
20echo PHP_EOL, "Done", PHP_EOL;
21?>
22--EXPECT--
23TraitA::as
24
25Done
26