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.
 
 

23 lines
340 B

<?php
function main(int $argc, array $argv): int
{
$a = 1;
$b = 2;
$c = 3.12343;
$d = 'hello';
$e = ['hello' => 1, 'world' => 33.43];
$argc = 999;
$a = $b * 13;
echo "value:=" . ($a + $b);
$str = str_repeat($d, $b);
echo $str;
$e2 = array_flip($e);
var_dump($e2);
return $a * $b;
}