diff options
Diffstat (limited to 'ext/opcache/tests/bug78034.phpt')
-rw-r--r-- | ext/opcache/tests/bug78034.phpt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/opcache/tests/bug78034.phpt b/ext/opcache/tests/bug78034.phpt new file mode 100644 index 0000000000..ca9cd4ec07 --- /dev/null +++ b/ext/opcache/tests/bug78034.phpt @@ -0,0 +1,21 @@ +--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=== |