xref: /PHP-8.3/Zend/tests/gh12468_1.phpt (revision af3d2f7e)
1--TEST--
2GH-12468: Double-free of doc_comment when overriding static property via trait
3--FILE--
4<?php
5trait T {
6	/** some doc */
7	static protected $a = 0;
8}
9class A {
10	use T;
11}
12class B extends A {
13	use T;
14}
15?>
16===DONE===
17--EXPECT--
18===DONE===
19