mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
19 lines
230 B
PHP
19 lines
230 B
PHP
--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
|