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.
 
 

24 lines
412 B

<?php
namespace App {
use function python\len;
use function python\abs as py_abs;
use function python\math\sqrt as py_sqrt;
use const python\math\pi as py_pi;
function pythonImportedSymbols(): array
{
return [
len([1, 2, 3]),
py_abs(-4),
py_sqrt(16),
py_pi,
];
}
}
namespace {
function main(): void
{
}
}