mirror of
https://github.com/danog/parser.git
synced 2024-12-12 09:09:37 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
11 lines
123 B
PHP
11 lines
123 B
PHP
<?php
|
|
|
|
class bar {};
|
|
|
|
$e = new class extends bar {
|
|
public function bar(): parent {
|
|
return new bar();
|
|
}
|
|
};
|
|
|