|
|
|
@ -1,10 +1,20 @@ |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* This file is part of TypePHP(AOT). |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @link https://www.swoole.com/aot/ |
|
|
|
|
|
|
|
* @contact service@swoole.com |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
namespace TypePhp\Tests; |
|
|
|
namespace TypePhp\Tests; |
|
|
|
|
|
|
|
|
|
|
|
use PHPUnit\Framework\TestCase; |
|
|
|
use PHPUnit\Framework\TestCase; |
|
|
|
use TypePhp\CompilerTest; |
|
|
|
use TypePhp\CompilerTest; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @internal |
|
|
|
|
|
|
|
* @coversNothing |
|
|
|
|
|
|
|
*/ |
|
|
|
class CountLiteralFoldTest extends TestCase |
|
|
|
class CountLiteralFoldTest extends TestCase |
|
|
|
{ |
|
|
|
{ |
|
|
|
public function testUnfoldableArrayLiteralsKeepTheRuntimeCall(): void |
|
|
|
public function testUnfoldableArrayLiteralsKeepTheRuntimeCall(): void |
|
|
|
|