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--EXPECT--
22TraitA::as
23
24Done
25