xref: /PHP-8.2/Zend/tests/bug76754.phpt (revision 9ed2f489)
1--TEST--
2Bug #76754 (parent private constant in extends class memory leak)
3--FILE--
4<?php
5
6class FOO
7{
8    private const FOO = 'BAR';
9}
10
11class BAR extends FOO { }
12?>
13okey
14--EXPECT--
15okey
16