Test: /ext/standard/tests/strings/setlocale_variation2.phpt - Version 5.4.0beta2-dev    

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

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