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.
29 lines
721 B
29 lines
721 B
<?php
|
|
|
|
class AssignOpTest extends \BaseTest
|
|
{
|
|
public function testAssignOpUndefinedVar()
|
|
{
|
|
$this->exec('Cannot assign to undefined variable', 'assign-op-undefined-var.php');
|
|
}
|
|
|
|
public function testConcatToArray()
|
|
{
|
|
$this->exec('Cannot concat string to array', 'assign-op-concat-array.php');
|
|
}
|
|
|
|
public function testBigIntPreInc()
|
|
{
|
|
$this->exec('Cannot use ++ on php::BigInt', 'bigint-pre-inc.php');
|
|
}
|
|
|
|
public function testBigIntPostInc()
|
|
{
|
|
$this->exec('Cannot use ++ on php::BigInt', 'bigint-post-inc.php');
|
|
}
|
|
|
|
public function testDecimalPreDec()
|
|
{
|
|
$this->exec('Cannot use -- on php::Decimal', 'decimal-pre-dec.php');
|
|
}
|
|
}
|
|
|