php-src/Zend/tests/bug70179.phpt
2020-02-03 22:52:20 +01:00

17 lines
174 B
PHP

--TEST--
Bug #70179 ($this refcount issue)
--FILE--
<?php
class X {
function __invoke() {
var_dump($this);
}
}
(new X)();
?>
--EXPECT--
object(X)#1 (0) {
}