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/property_hooks/bug005.phpt
2024-07-14 11:55:03 +02:00

22 lines
266 B
PHP

--TEST--
Parent hook call restriction may fail due to mangled name
--FILE--
<?php
class B {
protected mixed $x;
}
class C extends B {
protected mixed $x {
set {
parent::$x::set(1);
}
}
}
?>
===DONE===
--EXPECT--
===DONE===