mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
18 lines
232 B
PHP
18 lines
232 B
PHP
--TEST--
|
|
OSS-Fuzz #474613951: Leaked parent property default value
|
|
--FILE--
|
|
<?php
|
|
|
|
class A {
|
|
public $prop = C { get => $this->prop; }
|
|
}
|
|
|
|
class B extends A {
|
|
public $prop { get => 42; }
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|