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.
20 lines
359 B
20 lines
359 B
--TEST--
|
|
BigInt: use
|
|
--FILE--
|
|
<?php
|
|
use bigint_types;
|
|
|
|
function main()
|
|
{
|
|
require __DIR__ . '/../../../src/Assert.php';
|
|
$a = 3;
|
|
$b = $a->pow(80);
|
|
var_dump($b->toString());
|
|
|
|
$c = $a ** 80;
|
|
var_dump($b->toString());
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
string(39) "147808829414345923316083210206383297601"
|
|
string(39) "147808829414345923316083210206383297601"
|
|
|