mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +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) {
|
|
}
|