Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed bug #78787
This commit is contained in:
Nikita Popov 2019-11-06 12:53:21 +01:00
commit a3e454aacc

22
Zend/tests/bug78787.phpt Normal file
View File

@ -0,0 +1,22 @@
--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===