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/strings/ |
files >> //php-7.1.11/ext/standard/tests/strings/join_variation6.phpt |
--TEST-- Test join() function : usage variations - binary safe --FILE-- <?php /* Prototype : string join( string $glue, array $pieces ) * Description: Join array elements with a string * Source code: ext/standard/string.c * Alias of function: implode() */ /* * check the working of join() when given binary input given */ echo "*** Testing join() : usage variationsi - binary safe ***\n"; $glues = array( ",".chr(0)." ", b", " ); $pieces = array("Red", "Green", "White", 1); var_dump( join($glues[0], $pieces) ); var_dump( join($glues[1], $pieces) ); echo "Done\n"; ?> --EXPECTF-- *** Testing join() : usage variationsi - binary safe *** string(23) "Red, Green, White, 1" string(20) "Red, Green, White, 1" Doney~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`