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.
27 lines
996 B
27 lines
996 B
<?php
|
|
|
|
namespace TypePhp;
|
|
|
|
final class Type
|
|
{
|
|
public const string VAR = 'php::Var';
|
|
public const string BOOL = 'php::Bool';
|
|
public const string INT = 'php::Int';
|
|
public const string FLOAT = 'php::Float';
|
|
public const string OBJECT = 'php::Object';
|
|
public const string ARRAY = 'php::Array';
|
|
public const string RESOURCE = 'php::Resource';
|
|
public const string STREAM = 'php::Stream';
|
|
public const string BIGINT = 'php::BigInt';
|
|
public const string DECIMAL = 'php::Decimal';
|
|
public const string BIGFLOAT = 'php::BigFloat';
|
|
public const string BOX = 'php::Box';
|
|
public const string STD_ARRAY = 'php::StdArray';
|
|
public const string STD_VECTOR = 'php::StdVector';
|
|
public const string STD_MAP = 'php::StdMap';
|
|
public const string STD_ORDERED_MAP = 'php::StdOrderedMap';
|
|
public const string ARGS = 'php::Args';
|
|
public const string STR = 'php::Str';
|
|
public const string REF = 'php::Ref';
|
|
public const string VOID = 'void';
|
|
}
|
|
|