summaryrefslogtreecommitdiff
path: root/Zend/tests/bug76754.phpt
blob: 5cdac04fcf241e026eaeccc1b2fe6bb5e0c796b8 (plain)
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