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.
 
 

19 lines
261 B

--TEST--
BigInt: pow
--FILE--
<?php
use native_types;
function main()
{
require __DIR__ . '/../../../src/Assert.php';
$a = 3;
$b = $a->pow(3);
Assert::eq($b, 27);
$d = any(5);
$c = $a->pow($d);
Assert::eq($c, 243);
}
?>
--EXPECT--