php-8.0.30-src/ext/opcache/tests/bug78034.phpt

24 lines
340 B
PHP

--TEST--
Bug #78034: "pecl" tool fails with abort assertion in zend_ssa.c
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
function &ref() {}
class Test {
function method($bool) {
if (!$bool) {
$this->foo = &ref();
}
$this->foo = &ref();
}
}
?>
===DONE===
--EXPECT--
===DONE===