mirror of
https://github.com/php/php-src.git
synced 2024-12-15 12:54:57 +08:00
9ed2f4898b
Even if the original issue only reproduces without opcache, we should still allow running them with and without opcache.
16 lines
187 B
PHP
16 lines
187 B
PHP
--TEST--
|
|
Bug #76754 (parent private constant in extends class memory leak)
|
|
--FILE--
|
|
<?php
|
|
|
|
class FOO
|
|
{
|
|
private const FOO = 'BAR';
|
|
}
|
|
|
|
class BAR extends FOO { }
|
|
?>
|
|
okey
|
|
--EXPECT--
|
|
okey
|