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
360 B

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