mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +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) {
|
|
}
|