bug76754.phpt 230 B

123456789101112131415161718
  1. --TEST--
  2. Bug #76754 (parent private constant in extends class memory leak)
  3. --INI--
  4. opcache.enable=0
  5. opcache.enable_cli=0
  6. --FILE--
  7. <?php
  8. class FOO
  9. {
  10. private const FOO = 'BAR';
  11. }
  12. class BAR extends FOO { }
  13. ?>
  14. okey
  15. --EXPECT--
  16. okey