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/sym/root/php-7.1.11/Zend/tests/ |
files >> /var/www/html/sub/images/sym/root/php-7.1.11/Zend/tests/call_user_func_005.phpt |
--TEST-- Passing Closure as parameter to an non-existent function --FILE-- <?php class foo { public static function __callstatic($x, $y) { var_dump($x,$y); return 1; } public function teste() { return foo::x(function &($a=1,$b) { }); } } var_dump(call_user_func(array('foo', 'teste'))); ?> --EXPECTF-- Deprecated: %son-static method foo::teste() should not be called statically in %s on line %d %string|unicode%(1) "x" array(1) { [0]=> object(Closure)#%d (1) { ["parameter"]=> array(2) { ["$a"]=> string(10) "<required>" ["$b"]=> string(10) "<required>" } } } int(1)y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`