добавил несколько парсеров
This commit is contained in:
19
tests/test_conf.php
Normal file
19
tests/test_conf.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
class A {
|
||||
public $a;
|
||||
|
||||
public function y() {
|
||||
$this->a = new class {
|
||||
public readonly string $x;
|
||||
|
||||
public function d(): void {
|
||||
$this->x = '1';
|
||||
}
|
||||
};
|
||||
$this->a->d();
|
||||
echo $this->a->x;
|
||||
}
|
||||
}
|
||||
|
||||
$a = new A();
|
||||
$a->y();
|
Reference in New Issue
Block a user