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.
25 lines
344 B
25 lines
344 B
--TEST--
|
|
var_export() and classes
|
|
--FILE--
|
|
<?php
|
|
class kake
|
|
{
|
|
public $mann;
|
|
protected $kvinne;
|
|
function __construct()
|
|
{
|
|
$this->mann = 42;
|
|
$this->kvinne = 43;
|
|
}
|
|
}
|
|
function main()
|
|
{
|
|
$kake = new kake();
|
|
var_export($kake);
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
\kake::__set_state(array(
|
|
'mann' => 42,
|
|
'kvinne' => 43,
|
|
))
|
|
|