TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
418 B
36 lines
418 B
<?php
|
|
|
|
namespace App\XX;
|
|
|
|
use \NoExport;
|
|
use NoExport as Hidden;
|
|
|
|
#[NoExport]
|
|
function imported_attribute(): int
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
#[Hidden]
|
|
function aliased_attribute(): int
|
|
{
|
|
return 2;
|
|
}
|
|
|
|
#[\NoExport]
|
|
function fully_qualified_attribute(): int
|
|
{
|
|
return 3;
|
|
}
|
|
|
|
#[namespace\NoExport]
|
|
function relative_attribute(): int
|
|
{
|
|
return 4;
|
|
}
|
|
|
|
#[App\XX\NoExport]
|
|
function qualified_attribute(): int
|
|
{
|
|
return 5;
|
|
}
|
|
|