php-src/Zend/tests/indirect_reference_this.phpt
2010-12-01 13:33:49 +00:00

14 lines
158 B
PHP

--TEST--
Indirect referenced $this
--FILE--
<?php
class X {
function f($x){var_dump($$x);}
}
$x = new X;
$x->f("this");
?>
--EXPECTF--
object(X)#%d (0) {
}