1
0
mirror of https://github.com/php/php-src.git synced 2026-04-30 03:33:17 +02:00
Files
archived-php-src/ext/opcache/tests/bug78034.phpt
T
Nikita Popov ff4b0ce0e8 Fix bug #78034
Don't def non-cv variables in assign_obj_ref data operand.
2019-05-22 09:35:38 +02:00

22 lines
292 B
PHP

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