mirror of
https://github.com/php/php-src.git
synced 2024-10-17 14:32:37 +00:00
14 lines
158 B
Plaintext
14 lines
158 B
Plaintext
|
--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) {
|
||
|
}
|