1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/Zend/tests/bug70179.phpt
2015-08-01 20:35:56 +02:00

17 lines
162 B
PHP

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