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 >> /opt/php-7.0.1/ext/standard/tests/general_functions/ |
files >> //opt/php-7.0.1/ext/standard/tests/general_functions/bug41970.phpt |
--TEST-- Bug #41970 (call_user_func_*() leaks on failure) --FILE-- <?php $a = array(4,3,2); var_dump(call_user_func_array("sort", array($a))); var_dump(call_user_func_array("strlen", array($a))); var_dump(call_user_func("sort", $a)); var_dump(call_user_func("strlen", $a)); echo "Done\n"; ?> --EXPECTF-- Warning: Parameter 1 to sort() expected to be a reference, value given in %sbug41970.php on line 5 NULL Warning: strlen() expects parameter 1 to be string, array given in %sbug41970.php on line 6 NULL Warning: Parameter 1 to sort() expected to be a reference, value given in %sbug41970.php on line 7 NULL Warning: strlen() expects parameter 1 to be string, array given in %sbug41970.php on line 8 NULL Doney~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`