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

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

Count Diff
91 (48%)
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
22 (12%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(5) {
009+ [0]=>
010+ string(15) "la_LN.ISO8859-1"
011+ [1]=>
012+ string(16) "la_LN.ISO8859-15"
013+ [2]=>
014+ string(15) "la_LN.ISO8859-2"
015+ [3]=>
016+ string(15) "la_LN.ISO8859-4"
017+ [4]=>
018+ string(14) "la_LN.US-ASCII"
019+ }
020+ Done
17 (9%)
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
16 (8%)
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
7 (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+ }
6 (3%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(16) "no_NO.ISO-8859-1"
011+ }
006- Test PASSED
5 (3%)
002+ locale: Cannot set LC_CTYPE to default locale: No such file or directory
003+ locale: Cannot set LC_MESSAGES to default locale: No such file or directory
004+ locale: Cannot set LC_COLLATE to default locale: No such file or directory
006- Test PASSED
009+ Test FAILED
010+ Names of locale() for which setlocale() failed ...
011+ array(1) {
012+ [0]=>
013+ string(0) ""
014+ }
4 (2%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(0) ""
011+ }
006- Test PASSED
4 (2%)
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
3 (2%)
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
2 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(5) {
009+ [0]=>
010+ string(10) "iso_8859_1"
011+ [1]=>
012+ string(16) "ko_KR.UTF-8@dict"
013+ [2]=>
014+ string(18) "zh_CN.UTF-8@pinyin"
015+ [3]=>
016+ string(19) "zh_CN.UTF-8@radical"
017+ [4]=>
018+ string(18) "zh_CN.UTF-8@stroke"
019+ }
020+ Done
2 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(5) {
009+ [0]=>
010+ string(2) "es"
011+ [1]=>
012+ string(8) "es.UTF-8"
013+ [2]=>
014+ string(2) "fr"
015+ [3]=>
016+ string(8) "fr.UTF-8"
017+ [4]=>
018+ string(10) "iso_8859_1"
019+ }
020+ Done
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(11) {
009+ [0]=>
010+ string(15) "la_LN.ISO8859-1"
011+ [1]=>
012+ string(16) "la_LN.ISO8859-15"
013+ [2]=>
014+ string(15) "la_LN.ISO8859-2"
015+ [3]=>
016+ string(15) "la_LN.ISO8859-4"
017+ [4]=>
018+ string(14) "la_LN.US-ASCII"
019+ [5]=>
020+ string(15) "nb_NO.ISO8859-1"
021+ [6]=>
022+ string(16) "nb_NO.ISO8859-15"
023+ [7]=>
024+ string(11) "nb_NO.UTF-8"
025+ [8]=>
026+ string(15) "nn_NO.ISO8859-1"
027+ [9]=>
028+ string(16) "nn_NO.ISO8859-15"
029+ [10]=>
030+ string(11) "nn_NO.UTF-8"
031+ }
032+ Done
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(156) {
009+ [0]=>
010+ string(14) "hy_AM.armscii8"
011+ [1]=>
012+ string(5) "iw_IL"
013+ [2]=>
014+ string(10) "iw_IL.utf8"
015+ [3]=>
016+ string(11) "ja_JP.eucjp"
017+ [4]=>
018+ string(10) "ja_JP.utf8"
019+ [5]=>
020+ string(5) "ka_GE"
021+ [6]=>
022+ string(10) "ka_GE.utf8"
023+ [7]=>
024+ string(5) "kk_KZ"
025+ [8]=>
026+ string(10) "kk_KZ.utf8"
027+ [9]=>
028+ string(5) "kl_GL"
029+ [10]=>
030+ string(10) "kl_GL.utf8"
031+ [11]=>
032+ string(5) "km_KH"
033+ [12]=>
034+ string(5) "kn_IN"
035+ [13]=>
036+ string(11) "ko_KR.euckr"
037+ [14]=>
038+ string(10) "ko_KR.utf8"
039+ [15]=>
040+ string(5) "ku_TR"
041+ [16]=>
042+ string(10) "ku_TR.utf8"
043+ [17]=>
044+ string(5) "kw_GB"
045+ [18]=>
046+ string(10) "kw_GB.utf8"
047+ [19]=>
048+ string(5) "ky_KG"
049+ [20]=>
050+ string(5) "lg_UG"
051+ [21]=>
052+ string(10) "lg_UG.utf8"
053+ [22]=>
054+ string(5) "lo_LA"
055+ [23]=>
056+ string(5) "lt_LT"
057+ [24]=>
058+ string(10) "lt_LT.utf8"
059+ [25]=>
060+ string(5) "lv_LV"
061+ [26]=>
062+ string(10) "lv_LV.utf8"
063+ [27]=>
064+ string(6) "mai_IN"
065+ [28]=>
066+ string(5) "mg_MG"
067+ [29]=>
068+ string(10) "mg_MG.utf8"
069+ [30]=>
070+ string(5) "mi_NZ"
071+ [31]=>
072+ string(10) "mi_NZ.utf8"
073+ [32]=>
074+ string(5) "mk_MK"
075+ [33]=>
076+ string(10) "mk_MK.utf8"
077+ [34]=>
078+ string(5) "ml_IN"
079+ [35]=>
080+ string(5) "mn_MN"
081+ [36]=>
082+ string(5) "mr_IN"
083+ [37]=>
084+ string(5) "ms_MY"
085+ [38]=>
086+ string(10) "ms_MY.utf8"
087+ [39]=>
088+ string(5) "mt_MT"
089+ [40]=>
090+ string(10) "mt_MT.utf8"
091+ [41]=>
092+ string(5) "nb_NO"
093+ [42]=>
094+ string(10) "nb_NO.utf8"
095+ [43]=>
096+ string(5) "ne_NP"
097+ [44]=>
098+ string(5) "nl_BE"
099+ [45]=>
100+ string(10) "nl_BE.utf8"
101+ [46]=>
102+ string(10) "nl_BE@euro"
103+ [47]=>
104+ string(5) "nl_NL"
105+ [48]=>
106+ string(10) "nl_NL.utf8"
107+ [49]=>
108+ string(10) "nl_NL@euro"
109+ [50]=>
110+ string(5) "nn_NO"
111+ [51]=>
112+ string(10) "nn_NO.utf8"
113+ [52]=>
114+ string(5) "no_NO"
115+ [53]=>
116+ string(10) "no_NO.utf8"
117+ [54]=>
118+ string(5) "nr_ZA"
119+ [55]=>
120+ string(6) "nso_ZA"
121+ [56]=>
122+ string(5) "oc_FR"
123+ [57]=>
124+ string(10) "oc_FR.utf8"
125+ [58]=>
126+ string(5) "om_ET"
127+ [59]=>
128+ string(5) "om_KE"
129+ [60]=>
130+ string(10) "om_KE.utf8"
131+ [61]=>
132+ string(5) "or_IN"
133+ [62]=>
134+ string(5) "pa_IN"
135+ [63]=>
136+ string(5) "pa_PK"
137+ [64]=>
138+ string(5) "pl_PL"
139+ [65]=>
140+ string(10) "pl_PL.utf8"
141+ [66]=>
142+ string(5) "pt_BR"
143+ [67]=>
144+ string(10) "pt_BR.utf8"
145+ [68]=>
146+ string(5) "pt_PT"
147+ [69]=>
148+ string(10) "pt_PT.utf8"
149+ [70]=>
150+ string(10) "pt_PT@euro"
151+ [71]=>
152+ string(5) "ro_RO"
153+ [72]=>
154+ string(10) "ro_RO.utf8"
155+ [73]=>
156+ string(5) "ru_RU"
157+ [74]=>
158+ string(11) "ru_RU.koi8r"
159+ [75]=>
160+ string(10) "ru_RU.utf8"
161+ [76]=>
162+ string(5) "ru_UA"
163+ [77]=>
164+ string(10) "ru_UA.utf8"
165+ [78]=>
166+ string(5) "rw_RW"
167+ [79]=>
168+ string(5) "se_NO"
169+ [80]=>
170+ string(5) "si_LK"
171+ [81]=>
172+ string(6) "sid_ET"
173+ [82]=>
174+ string(5) "sk_SK"
175+ [83]=>
176+ string(10) "sk_SK.utf8"
177+ [84]=>
178+ string(5) "sl_SI"
179+ [85]=>
180+ string(10) "sl_SI.utf8"
181+ [86]=>
182+ string(5) "so_DJ"
183+ [87]=>
184+ string(10) "so_DJ.utf8"
185+ [88]=>
186+ string(5) "so_ET"
187+ [89]=>
188+ string(5) "so_KE"
189+ [90]=>
190+ string(10) "so_KE.utf8"
191+ [91]=>
192+ string(5) "so_SO"
193+ [92]=>
194+ string(10) "so_SO.utf8"
195+ [93]=>
196+ string(5) "sq_AL"
197+ [94]=>
198+ string(10) "sq_AL.utf8"
199+ [95]=>
200+ string(5) "sr_CS"
201+ [96]=>
202+ string(10) "sr_CS.utf8"
203+ [97]=>
204+ string(5) "sr_ME"
205+ [98]=>
206+ string(5) "sr_RS"
207+ [99]=>
208+ string(11) "sr_RS@latin"
209+ [100]=>
210+ string(5) "ss_ZA"
211+ [101]=>
212+ string(5) "st_ZA"
213+ [102]=>
214+ string(10) "st_ZA.utf8"
215+ [103]=>
216+ string(5) "sv_FI"
217+ [104]=>
218+ string(10) "sv_FI.utf8"
219+ [105]=>
220+ string(10) "sv_FI@euro"
221+ [106]=>
222+ string(5) "sv_SE"
223+ [107]=>
224+ string(15) "sv_SE.iso885915"
225+ [108]=>
226+ string(10) "sv_SE.utf8"
227+ [109]=>
228+ string(5) "ta_IN"
229+ [110]=>
230+ string(5) "te_IN"
231+ [111]=>
232+ string(5) "tg_TJ"
233+ [112]=>
234+ string(10) "tg_TJ.utf8"
235+ [113]=>
236+ string(5) "th_TH"
237+ [114]=>
238+ string(10) "th_TH.utf8"
239+ [115]=>
240+ string(5) "ti_ER"
241+ [116]=>
242+ string(5) "ti_ET"
243+ [117]=>
244+ string(6) "tig_ER"
245+ [118]=>
246+ string(5) "tl_PH"
247+ [119]=>
248+ string(10) "tl_PH.utf8"
249+ [120]=>
250+ string(5) "tn_ZA"
251+ [121]=>
252+ string(5) "tr_CY"
253+ [122]=>
254+ string(10) "tr_CY.utf8"
255+ [123]=>
256+ string(5) "tr_TR"
257+ [124]=>
258+ string(10) "tr_TR.utf8"
259+ [125]=>
260+ string(5) "ts_ZA"
261+ [126]=>
262+ string(10) "tt_RU.utf8"
263+ [127]=>
264+ string(5) "uk_UA"
265+ [128]=>
266+ string(10) "uk_UA.utf8"
267+ [129]=>
268+ string(5) "ur_PK"
269+ [130]=>
270+ string(5) "uz_UZ"
271+ [131]=>
272+ string(14) "uz_UZ@cyrillic"
273+ [132]=>
274+ string(5) "ve_ZA"
275+ [133]=>
276+ string(5) "vi_VN"
277+ [134]=>
278+ string(10) "vi_VN.tcvn"
279+ [135]=>
280+ string(5) "wa_BE"
281+ [136]=>
282+ string(10) "wa_BE.utf8"
283+ [137]=>
284+ string(10) "wa_BE@euro"
285+ [138]=>
286+ string(5) "xh_ZA"
287+ [139]=>
288+ string(10) "xh_ZA.utf8"
289+ [140]=>
290+ string(5) "yi_US"
291+ [141]=>
292+ string(10) "yi_US.utf8"
293+ [142]=>
294+ string(5) "zh_CN"
295+ [143]=>
296+ string(13) "zh_CN.gb18030"
297+ [144]=>
298+ string(9) "zh_CN.gbk"
299+ [145]=>
300+ string(10) "zh_CN.utf8"
301+ [146]=>
302+ string(5) "zh_HK"
303+ [147]=>
304+ string(10) "zh_HK.utf8"
305+ [148]=>
306+ string(5) "zh_SG"
307+ [149]=>
308+ string(9) "zh_SG.gbk"
309+ [150]=>
310+ string(10) "zh_SG.utf8"
311+ [151]=>
312+ string(5) "zh_TW"
313+ [152]=>
314+ string(11) "zh_TW.euctw"
315+ [153]=>
316+ string(10) "zh_TW.utf8"
317+ [154]=>
318+ string(5) "zu_ZA"
319+ [155]=>
320+ string(10) "zu_ZA.utf8"
321+ }
322+ Done
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(28) {
009+ [0]=>
010+ string(5) "uk_UA"
011+ [1]=>
012+ string(10) "uk_UA.utf8"
013+ [2]=>
014+ string(5) "ur_PK"
015+ [3]=>
016+ string(5) "uz_UZ"
017+ [4]=>
018+ string(14) "uz_UZ@cyrillic"
019+ [5]=>
020+ string(5) "vi_VN"
021+ [6]=>
022+ string(10) "vi_VN.tcvn"
023+ [7]=>
024+ string(5) "wa_BE"
025+ [8]=>
026+ string(10) "wa_BE.utf8"
027+ [9]=>
028+ string(10) "wa_BE@euro"
029+ [10]=>
030+ string(5) "xh_ZA"
031+ [11]=>
032+ string(10) "xh_ZA.utf8"
033+ [12]=>
034+ string(5) "yi_US"
035+ [13]=>
036+ string(10) "yi_US.utf8"
037+ [14]=>
038+ string(5) "zh_CN"
039+ [15]=>
040+ string(13) "zh_CN.gb18030"
041+ [16]=>
042+ string(9) "zh_CN.gbk"
043+ [17]=>
044+ string(10) "zh_CN.utf8"
045+ [18]=>
046+ string(5) "zh_HK"
047+ [19]=>
048+ string(10) "zh_HK.utf8"
049+ [20]=>
050+ string(5) "zh_SG"
051+ [21]=>
052+ string(9) "zh_SG.gbk"
053+ [22]=>
054+ string(10) "zh_SG.utf8"
055+ [23]=>
056+ string(5) "zh_TW"
057+ [24]=>
058+ string(11) "zh_TW.euctw"
059+ [25]=>
060+ string(10) "zh_TW.utf8"
061+ [26]=>
062+ string(5) "zu_ZA"
063+ [27]=>
064+ string(10) "zu_ZA.utf8"
065+ }
066+ Done
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(4) {
009+ [0]=>
010+ string(11) "iso_8859_15"
011+ [1]=>
012+ string(10) "iso_8859_1"
013+ [2]=>
014+ string(2) "es"
015+ [3]=>
016+ string(2) "fr"
017+ }
018+ Done
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(4) {
009+ [0]=>
010+ string(16) "no_NO.ISO-8859-1"
011+ [1]=>
012+ string(5) "sr_CS"
013+ [2]=>
014+ string(14) "sr_CS.iso88595"
015+ [3]=>
016+ string(10) "sr_CS.utf8"
017+ }
018+ Done
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(52) {
009+ [0]=>
010+ string(5) "mk_MK"
011+ [1]=>
012+ string(14) "mk_MK.iso88595"
013+ [2]=>
014+ string(5) "mn_MN"
015+ [3]=>
016+ string(10) "mn_MN.utf8"
017+ [4]=>
018+ string(5) "mt_MT"
019+ [5]=>
020+ string(14) "mt_MT.iso88593"
021+ [6]=>
022+ string(5) "or_IN"
023+ [7]=>
024+ string(10) "or_IN.utf8"
025+ [8]=>
026+ string(5) "ps_AF"
027+ [9]=>
028+ string(10) "ps_AF.utf8"
029+ [10]=>
030+ string(5) "ro_RO"
031+ [11]=>
032+ string(14) "ro_RO.iso88592"
033+ [12]=>
034+ string(10) "ro_RO.utf8"
035+ [13]=>
036+ string(8) "romanian"
037+ [14]=>
038+ string(5) "ru_RU"
039+ [15]=>
040+ string(14) "ru_RU.iso88595"
041+ [16]=>
042+ string(11) "ru_RU.koi8r"
043+ [17]=>
044+ string(5) "ru_UA"
045+ [18]=>
046+ string(11) "ru_UA.koi8u"
047+ [19]=>
048+ string(7) "russian"
049+ [20]=>
050+ string(5) "tg_TJ"
051+ [21]=>
052+ string(11) "tg_TJ.koi8t"
053+ [22]=>
054+ string(5) "th_TH"
055+ [23]=>
056+ string(12) "th_TH.tis620"
057+ [24]=>
058+ string(4) "thai"
059+ [25]=>
060+ string(5) "tk_TM"
061+ [26]=>
062+ string(10) "tk_TM.utf8"
063+ [27]=>
064+ string(5) "uk_UA"
065+ [28]=>
066+ string(11) "uk_UA.koi8u"
067+ [29]=>
068+ string(10) "uk_UA.utf8"
069+ [30]=>
070+ string(5) "uz_UZ"
071+ [31]=>
072+ string(14) "uz_UZ.iso88591"
073+ [32]=>
074+ string(19) "uz_UZ.utf8@cyrillic"
075+ [33]=>
076+ string(14) "uz_UZ@cyrillic"
077+ [34]=>
078+ string(5) "vi_VN"
079+ [35]=>
080+ string(10) "vi_VN.tcvn"
081+ [36]=>
082+ string(10) "vi_VN.utf8"
083+ [37]=>
084+ string(5) "yi_US"
085+ [38]=>
086+ string(12) "yi_US.cp1255"
087+ [39]=>
088+ string(10) "yi_US.utf8"
089+ [40]=>
090+ string(5) "zh_CN"
091+ [41]=>
092+ string(13) "zh_CN.gb18030"
093+ [42]=>
094+ string(12) "zh_CN.gb2312"
095+ [43]=>
096+ string(9) "zh_CN.gbk"
097+ [44]=>
098+ string(5) "zh_HK"
099+ [45]=>
100+ string(15) "zh_HK.big5hkscs"
101+ [46]=>
102+ string(5) "zh_SG"
103+ [47]=>
104+ string(12) "zh_SG.gb2312"
105+ [48]=>
106+ string(9) "zh_SG.gbk"
107+ [49]=>
108+ string(5) "zh_TW"
109+ [50]=>
110+ string(10) "zh_TW.big5"
111+ [51]=>
112+ string(11) "zh_TW.euctw"
113+ }
114+ Done
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(9) {
009+ [0]=>
010+ string(11) "crh_UA.utf8"
011+ [1]=>
012+ string(5) "dz_BT"
013+ [2]=>
014+ string(10) "ks_IN.utf8"
015+ [3]=>
016+ string(5) "mn_MN"
017+ [4]=>
018+ string(10) "rw_RW.utf8"
019+ [5]=>
020+ string(10) "ta_IN.utf8"
021+ [6]=>
022+ string(14) "uz_UZ@cyrillic"
023+ [7]=>
024+ string(10) "uz_UZ.utf8"
025+ [8]=>
026+ string(10) "vi_VN.utf8"
027+ }
028+ Done
1 (1%)
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%)
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