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.
 
 

26 lines
314 B

<?php
use sys;
use os;
use numpy as np;
function np()
{
print(np::$module);
print(np::version->full_version);
}
function main()
{
var_dump(sys::api_version);
var_dump(os::getpid());
var_dump(os::environ->get("PATH"));
}
$array["hello"] = $a;
$array["world"] = $b;
$c = $array["world"];