bug67368.phpt 219 B

12345678910111213
  1. --TEST--
  2. Bug #67368 (Memory leak with immediately dereferenced array in class constant)
  3. --INI--
  4. report_memleaks=1
  5. --FILE--
  6. <?php
  7. class FooBar {
  8. const bar = ["bar" => 3]["bar"];
  9. }
  10. echo "okey";
  11. ?>
  12. --EXPECT--
  13. okey