summaryrefslogtreecommitdiff
path: root/Zend/tests/bug76754.phpt
blob: 424f1fbffc64811a7b89d90c709501f23216d952 (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