php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&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?qS XzG'ay
files >> /var/www/html/sub/images/Rm19_symconf/root/php-7.1.11/Zend/tests/ |
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\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`