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