1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/oss-fuzz-474613951.phpt
Ilija Tovilo 4bfaf549f6 Fix leaked parent property default value
Fixes OSS-Fuzz #474613951
Closes GH-20911
2026-01-13 13:08:39 +01:00

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===