bug78034.phpt 315 B

1234567891011121314151617181920212223
  1. --TEST--
  2. Bug #78034: "pecl" tool fails with abort assertion in zend_ssa.c
  3. --EXTENSIONS--
  4. opcache
  5. --FILE--
  6. <?php
  7. function &ref() {}
  8. class Test {
  9. function method($bool) {
  10. if (!$bool) {
  11. $this->foo = &ref();
  12. }
  13. $this->foo = &ref();
  14. }
  15. }
  16. ?>
  17. ===DONE===
  18. --EXPECT--
  19. ===DONE===