mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
First pass at moving `Zend/tests/bug*` tests to existing sub directories Work towards GH-15631
23 lines
284 B
PHP
23 lines
284 B
PHP
--TEST--
|
|
Bug #78787: Segfault with trait overriding inherited private shadow property
|
|
--FILE--
|
|
<?php
|
|
|
|
trait T {
|
|
private $prop;
|
|
}
|
|
class C1 {
|
|
/** Doc comment */
|
|
private $prop;
|
|
}
|
|
class C2 extends C1 {
|
|
}
|
|
class C3 extends C2 {
|
|
use T;
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|