1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--TEST-- Bug #76754 (parent private constant in extends class memory leak) --INI-- opcache.enable=0 opcache.enable_cli=0 --FILE-- <?php class FOO { private const FOO = 'BAR'; } class BAR extends FOO { } ?> okey --EXPECT-- okey