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 >> /php-7.1.11/ext/standard/tests/array/ |
files >> //php-7.1.11/ext/standard/tests/array/compact_error.phpt |
--TEST-- Test compact() function : error conditions --FILE-- <?php /* Prototype : proto array compact(mixed var_names [, mixed ...]) * Description: Creates a hash containing variables and their values * Source code: ext/standard/array.c * Alias to functions: */ /* * Error -tests test compact with zero arguments. */ echo "*** Testing compact() : error conditions ***\n"; // Zero arguments echo "\n-- Testing compact() function with Zero arguments --\n"; var_dump( compact() ); echo "Done"; ?> --EXPECTF-- *** Testing compact() : error conditions *** -- Testing compact() function with Zero arguments -- Warning: compact() expects at least 1 parameter, 0 given in %s on line %d NULL Doney~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`