think\Route::alias('php','\app\index\controller\Test');
Use this code to report an error
[8] ErrorException in App. php line 139 undefined array index: var
If I don't fully qualify the name
think\Route::alias('php','index/test');
It can run normally