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/array_unique_variation7.phpt |
--TEST-- Test array_unique() function : usage variations - binary safe checking --FILE-- <?php /* Prototype : array array_unique(array $input) * Description: Removes duplicate values from array * Source code: ext/standard/array.c */ /* * Testing the functionality of array_unique() by passing an array having binary values. */ echo "*** Testing array_unique() : array with binary data for \$input argument ***\n"; // array with binary values $input = array( b"1", b"hello", "world", "str1" => "hello", "str2" => "world"); var_dump( array_unique($input) ); echo "Done"; ?> --EXPECTF-- *** Testing array_unique() : array with binary data for $input argument *** array(3) { [0]=> string(1) "1" [1]=> string(5) "hello" [2]=> string(5) "world" } Doney~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`