Test: /ext/standard/tests/strings/setlocale_variation2.phpt - Version 5.6.11    

There are 20 different diffs reported by users for this test.

Count Diff
36 (32%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(14) "hy_AM.armscii8"
011+ }
006- Test PASSED
26 (23%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(2) {
009+ [0]=>
010+ string(14) "hy_AM.armscii8"
011+ [1]=>
012+ string(19) "ja_JP.shiftjisx0213"
013+ }
006- Test PASSED
22 (19%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(6) {
009+ [0]=>
010+ string(15) "la_LN.ISO8859-1"
011+ [1]=>
012+ string(16) "la_LN.ISO8859-13"
013+ [2]=>
014+ string(16) "la_LN.ISO8859-15"
015+ [3]=>
016+ string(15) "la_LN.ISO8859-2"
017+ [4]=>
018+ string(15) "la_LN.ISO8859-4"
019+ [5]=>
020+ string(14) "la_LN.US-ASCII"
021+ }
022+ Done
5 (4%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "de_CH.utf8"
011+ }
006- Test PASSED
4 (4%)
002+ locale: Cannot set LC_CTYPE to default locale: No such file or directory
006- Test PASSED
007+ Test FAILED
008+ Names of locale() for which setlocale() failed ...
009+ array(1) {
010+ [0]=>
011+ string(0) ""
012+ }
3 (3%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(2) {
009+ [0]=>
011+ [1]=>
013+ }
006- Test PASSED
2 (2%)
2 (2%)
003+
004+ Termsig=0
003- No of locales found on the machine = %d
004- No of setlocale() success = %d
005- Expected no of failures = 0
006- Test PASSED
007- Done
2 (2%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "iso_8859_1"
011+ }
006- Test PASSED
1 (1%)
002+ sh: locale: command not found
1 (1%)
002+ sh: locale: not found
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(59) {
009+ [0]=>
010+ string(14) "hy_AM.armscii8"
011+ [1]=>
012+ string(19) "ja_JP.shiftjisx0213"
013+ [2]=>
014+ string(5) "ta_IN"
015+ [3]=>
016+ string(10) "ta_IN.utf8"
017+ [4]=>
018+ string(5) "te_IN"
019+ [5]=>
020+ string(10) "te_IN.utf8"
021+ [6]=>
022+ string(5) "tg_TJ"
023+ [7]=>
024+ string(10) "tg_TJ.utf8"
025+ [8]=>
026+ string(5) "th_TH"
027+ [9]=>
028+ string(10) "th_TH.utf8"
029+ [10]=>
030+ string(5) "ti_ER"
031+ [11]=>
032+ string(10) "ti_ER.utf8"
033+ [12]=>
034+ string(5) "ti_ET"
035+ [13]=>
036+ string(10) "ti_ET.utf8"
037+ [14]=>
038+ string(6) "tig_ER"
039+ [15]=>
040+ string(11) "tig_ER.utf8"
041+ [16]=>
042+ string(5) "tk_TM"
043+ [17]=>
044+ string(5) "tl_PH"
045+ [18]=>
046+ string(10) "tl_PH.utf8"
047+ [19]=>
048+ string(5) "tn_ZA"
049+ [20]=>
050+ string(5) "tr_CY"
051+ [21]=>
052+ string(10) "tr_CY.utf8"
053+ [22]=>
054+ string(5) "tr_TR"
055+ [23]=>
056+ string(10) "tr_TR.utf8"
057+ [24]=>
058+ string(5) "ts_ZA"
059+ [25]=>
060+ string(10) "tt_RU.utf8"
061+ [26]=>
062+ string(5) "ug_CN"
063+ [27]=>
064+ string(5) "uk_UA"
065+ [28]=>
066+ string(10) "uk_UA.utf8"
067+ [29]=>
068+ string(5) "ur_PK"
069+ [30]=>
070+ string(10) "ur_PK.utf8"
071+ [31]=>
072+ string(5) "uz_UZ"
073+ [32]=>
074+ string(14) "uz_UZ@cyrillic"
075+ [33]=>
076+ string(5) "ve_ZA"
077+ [34]=>
078+ string(5) "vi_VN"
079+ [35]=>
080+ string(10) "vi_VN.tcvn"
081+ [36]=>
082+ string(5) "wa_BE"
083+ [37]=>
084+ string(10) "wa_BE.utf8"
085+ [38]=>
086+ string(10) "wa_BE@euro"
087+ [39]=>
088+ string(5) "wo_SN"
089+ [40]=>
090+ string(5) "xh_ZA"
091+ [41]=>
092+ string(10) "xh_ZA.utf8"
093+ [42]=>
094+ string(5) "yi_US"
095+ [43]=>
096+ string(10) "yi_US.utf8"
097+ [44]=>
098+ string(5) "yo_NG"
099+ [45]=>
100+ string(5) "zh_CN"
101+ [46]=>
102+ string(13) "zh_CN.gb18030"
103+ [47]=>
104+ string(9) "zh_CN.gbk"
105+ [48]=>
106+ string(10) "zh_CN.utf8"
107+ [49]=>
108+ string(5) "zh_HK"
109+ [50]=>
110+ string(10) "zh_HK.utf8"
111+ [51]=>
112+ string(5) "zh_SG"
113+ [52]=>
114+ string(9) "zh_SG.gbk"
115+ [53]=>
116+ string(10) "zh_SG.utf8"
117+ [54]=>
118+ string(5) "zh_TW"
119+ [55]=>
120+ string(11) "zh_TW.euctw"
121+ [56]=>
122+ string(10) "zh_TW.utf8"
123+ [57]=>
124+ string(5) "zu_ZA"
125+ [58]=>
126+ string(10) "zu_ZA.utf8"
127+ }
128+ Done
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "es_CO.utf8"
011+ }
006- Test PASSED
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "es_CU.utf8"
011+ }
006- Test PASSED
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "es_EC.utf8"
011+ }
006- Test PASSED
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "es_SV.utf8"
011+ }
006- Test PASSED
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "lg_UG.utf8"
011+ }
006- Test PASSED
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(16) "nb_NO.ISO-8859-1"
011+ }
006- Test PASSED
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(19) "ja_JP.shiftjisx0213"
011+ }
006- Test PASSED
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(3) {
009+ [0]=>
010+ string(2) "es"
011+ [1]=>
012+ string(2) "fr"
013+ [2]=>
014+ string(10) "iso_8859_1"
015+ }
006- Test PASSED