xref: /PHP-7.3/Zend/tests/bug70179.phpt (revision 2d6f0e45)
1--TEST--
2Bug #70179 ($this refcount issue)
3--FILE--
4<?php
5
6class X {
7	function __invoke() {
8		var_dump($this);
9	}
10}
11(new X)();
12
13?>
14--EXPECT--
15object(X)#1 (0) {
16}
17