mirror of
https://github.com/php/php-src.git
synced 2024-12-21 16:00:18 +08:00
14 lines
158 B
PHP
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) {
|
|
}
|