summaryrefslogtreecommitdiff
path: root/Zend/tests/indirect_reference_this.phpt
blob: c344bd03ff281390fce1bbbfeecfb70398f57f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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) {
}