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.
 
 

30 lines
631 B

<?php
function readNativeForwardGlobal(): int
{
global $nativeForwardGlobal;
return $nativeForwardGlobal->value;
}
function readNativeForwardPolymorphic(): int
{
global $nativeForwardPolymorphic;
return $nativeForwardPolymorphic->value;
}
function readNativeForwardCoalesced(): int
{
global $nativeForwardCoalesced;
return $nativeForwardCoalesced->value;
}
function readNativeForwardGlobalsArray(): int
{
return $GLOBALS['nativeForwardGlobalsArray']->value;
}
function readNativeForwardClosureGlobal(): int
{
global $nativeForwardClosureGlobal;
return $nativeForwardClosureGlobal->value;
}