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

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

Count Diff
53 (25%)
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
46 (22%)
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
37 (18%)
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
25 (12%)
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
10 (5%)
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
7 (3%)
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
5 (2%)
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+ }
4 (2%)
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
4 (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
4 (2%)
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+ }
3 (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
2 (1%)
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-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(16) "nb_NO.ISO8859-15"
021+ }
022+ Done
1 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(65) {
009+ [0]=>
010+ string(2) "ca"
011+ [1]=>
012+ string(7) "catalan"
013+ [2]=>
014+ string(8) "croatian"
015+ [3]=>
016+ string(2) "cs"
017+ [4]=>
018+ string(5) "czech"
019+ [5]=>
020+ string(2) "da"
021+ [6]=>
022+ string(6) "danish"
023+ [7]=>
024+ string(5) "dansk"
025+ [8]=>
026+ string(2) "de"
027+ [9]=>
028+ string(7) "deutsch"
029+ [10]=>
030+ string(5) "dutch"
031+ [11]=>
032+ string(5) "eesti"
033+ [12]=>
034+ string(2) "el"
035+ [13]=>
036+ string(2) "es"
037+ [14]=>
038+ string(8) "estonian"
039+ [15]=>
040+ string(2) "et"
041+ [16]=>
042+ string(2) "eu"
043+ [17]=>
044+ string(2) "fi"
045+ [18]=>
046+ string(7) "finnish"
047+ [19]=>
048+ string(2) "fr"
049+ [20]=>
050+ string(8) "fran�ais"
051+ [21]=>
052+ string(6) "french"
053+ [22]=>
054+ string(2) "ga"
055+ [23]=>
056+ string(6) "german"
057+ [24]=>
058+ string(2) "gl"
059+ [25]=>
060+ string(5) "greek"
061+ [26]=>
062+ string(6) "hebrew"
063+ [27]=>
064+ string(2) "hr"
065+ [28]=>
066+ string(8) "hrvatski"
067+ [29]=>
068+ string(2) "hu"
069+ [30]=>
070+ string(9) "hungarian"
071+ [31]=>
072+ string(9) "icelandic"
073+ [32]=>
074+ string(2) "it"
075+ [33]=>
076+ string(7) "italian"
077+ [34]=>
078+ string(2) "ja"
079+ [35]=>
080+ string(8) "japanese"
081+ [36]=>
082+ string(12) "japanese.euc"
083+ [37]=>
084+ string(2) "ko"
085+ [38]=>
086+ string(10) "lithuanian"
087+ [39]=>
088+ string(2) "lt"
089+ [40]=>
090+ string(2) "nl"
091+ [41]=>
092+ string(2) "nn"
093+ [42]=>
094+ string(2) "no"
095+ [43]=>
096+ string(9) "norwegian"
097+ [44]=>
098+ string(2) "pl"
099+ [45]=>
100+ string(6) "polish"
101+ [46]=>
102+ string(10) "portuguese"
103+ [47]=>
104+ string(2) "pt"
105+ [48]=>
106+ string(5) "pt_BR"
107+ [49]=>
108+ string(2) "ro"
109+ [50]=>
110+ string(8) "romanian"
111+ [51]=>
112+ string(2) "ru"
113+ [52]=>
114+ string(7) "russian"
115+ [53]=>
116+ string(2) "sk"
117+ [54]=>
118+ string(2) "sl"
119+ [55]=>
120+ string(6) "slovak"
121+ [56]=>
122+ string(7) "slovene"
123+ [57]=>
124+ string(9) "slovenian"
125+ [58]=>
126+ string(7) "spanish"
127+ [59]=>
128+ string(2) "sv"
129+ [60]=>
130+ string(7) "swedish"
131+ [61]=>
132+ string(7) "turkish"
133+ [62]=>
134+ string(2) "uk"
135+ [63]=>
136+ string(2) "wa"
137+ [64]=>
138+ string(10) "zh_TW.Big5"
139+ }
140+ Done
1 (0%)
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 (0%)
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 008514: 1337951523 0.57799300 < 1337951524 0.26494100 022532: 1337951523 0.88083800 < 1337951523 0.88088800 032199: 1337951524 0.08895000 < 1337951524 0.08907200 081912: 1337951525 0.16842800 < 1337951525 0.16844300 001+ Passed: 99996
002+ Failed: 4
001- Passed: 100000
002- Failed: 0
003+ 008514: 1337951523 0.57799300 < 1337951524 0.26494100
004+ 022532: 1337951523 0.88083800 < 1337951523 0.88088800
005+ 032199: 1337951524 0.08895000 < 1337951524 0.08907200
006+ 081912: 1337951525 0.16842800 < 1337951525 0.16844300
1 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(5) {
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+ [4]=>
018+ string(2) "en"
019+ }
020+ Done
1 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(39) {
009+ [0]=>
010+ string(2) "be"
011+ [1]=>
012+ string(2) "ca"
013+ [2]=>
014+ string(2) "cs"
015+ [3]=>
016+ string(2) "da"
017+ [4]=>
018+ string(2) "de"
019+ [5]=>
020+ string(5) "de_AT"
021+ [6]=>
022+ string(2) "el"
023+ [7]=>
024+ string(11) "en@boldquot"
025+ [8]=>
026+ string(7) "en@quot"
027+ [9]=>
028+ string(2) "eo"
029+ [10]=>
030+ string(2) "es"
031+ [11]=>
032+ string(2) "et"
033+ [12]=>
034+ string(2) "fi"
035+ [13]=>
036+ string(2) "fr"
037+ [14]=>
038+ string(2) "gl"
039+ [15]=>
040+ string(2) "he"
041+ [16]=>
042+ string(2) "hr"
043+ [17]=>
044+ string(2) "id"
045+ [18]=>
046+ string(2) "it"
047+ [19]=>
048+ string(2) "ja"
049+ [20]=>
050+ string(2) "ko"
051+ [21]=>
052+ string(2) "nb"
053+ [22]=>
054+ string(2) "nl"
055+ [23]=>
056+ string(2) "nn"
057+ [24]=>
058+ string(2) "no"
059+ [25]=>
060+ string(10) "no@nynorsk"
061+ [26]=>
062+ string(2) "pl"
063+ [27]=>
064+ string(2) "pt"
065+ [28]=>
066+ string(5) "pt_BR"
067+ [29]=>
068+ string(2) "ro"
069+ [30]=>
070+ string(2) "ru"
071+ [31]=>
072+ string(2) "sk"
073+ [32]=>
074+ string(2) "sl"
075+ [33]=>
076+ string(2) "sr"
077+ [34]=>
078+ string(2) "sv"
079+ [35]=>
080+ string(2) "tr"
081+ [36]=>
082+ string(2) "uk"
083+ [37]=>
084+ string(5) "zh_CN"
085+ [38]=>
086+ string(5) "zh_TW"
087+ }
088+ Done
1 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(159) {
009+ [0]=>
010+ string(6) "gez_ER"
011+ [1]=>
012+ string(14) "gez_ER@abegede"
013+ [2]=>
014+ string(6) "gez_ET"
015+ [3]=>
016+ string(14) "gez_ET@abegede"
017+ [4]=>
018+ string(5) "gl_ES"
019+ [5]=>
020+ string(10) "gl_ES.utf8"
021+ [6]=>
022+ string(10) "gl_ES@euro"
023+ [7]=>
024+ string(5) "gu_IN"
025+ [8]=>
026+ string(5) "gv_GB"
027+ [9]=>
028+ string(10) "gv_GB.utf8"
029+ [10]=>
030+ string(5) "he_IL"
031+ [11]=>
032+ string(10) "he_IL.utf8"
033+ [12]=>
034+ string(5) "hi_IN"
035+ [13]=>
036+ string(5) "hr_HR"
037+ [14]=>
038+ string(10) "hr_HR.utf8"
039+ [15]=>
040+ string(5) "hu_HU"
041+ [16]=>
042+ string(10) "hu_HU.utf8"
043+ [17]=>
044+ string(5) "id_ID"
045+ [18]=>
046+ string(10) "id_ID.utf8"
047+ [19]=>
048+ string(5) "is_IS"
049+ [20]=>
050+ string(10) "is_IS.utf8"
051+ [21]=>
052+ string(5) "it_CH"
053+ [22]=>
054+ string(10) "it_CH.utf8"
055+ [23]=>
056+ string(5) "it_IT"
057+ [24]=>
058+ string(10) "it_IT.utf8"
059+ [25]=>
060+ string(10) "it_IT@euro"
061+ [26]=>
062+ string(5) "iw_IL"
063+ [27]=>
064+ string(10) "iw_IL.utf8"
065+ [28]=>
066+ string(11) "ja_JP.eucjp"
067+ [29]=>
068+ string(10) "ja_JP.utf8"
069+ [30]=>
070+ string(5) "ka_GE"
071+ [31]=>
072+ string(10) "ka_GE.utf8"
073+ [32]=>
074+ string(5) "kk_KZ"
075+ [33]=>
076+ string(10) "kk_KZ.utf8"
077+ [34]=>
078+ string(5) "kl_GL"
079+ [35]=>
080+ string(10) "kl_GL.utf8"
081+ [36]=>
082+ string(5) "kn_IN"
083+ [37]=>
084+ string(11) "ko_KR.euckr"
085+ [38]=>
086+ string(10) "ko_KR.utf8"
087+ [39]=>
088+ string(5) "kw_GB"
089+ [40]=>
090+ string(10) "kw_GB.utf8"
091+ [41]=>
092+ string(5) "lg_UG"
093+ [42]=>
094+ string(10) "lg_UG.utf8"
095+ [43]=>
096+ string(5) "lo_LA"
097+ [44]=>
098+ string(5) "lt_LT"
099+ [45]=>
100+ string(10) "lt_LT.utf8"
101+ [46]=>
102+ string(5) "lv_LV"
103+ [47]=>
104+ string(10) "lv_LV.utf8"
105+ [48]=>
106+ string(5) "mi_NZ"
107+ [49]=>
108+ string(10) "mi_NZ.utf8"
109+ [50]=>
110+ string(5) "mk_MK"
111+ [51]=>
112+ string(10) "mk_MK.utf8"
113+ [52]=>
114+ string(5) "ml_IN"
115+ [53]=>
116+ string(5) "mn_MN"
117+ [54]=>
118+ string(5) "mr_IN"
119+ [55]=>
120+ string(5) "ms_MY"
121+ [56]=>
122+ string(10) "ms_MY.utf8"
123+ [57]=>
124+ string(5) "mt_MT"
125+ [58]=>
126+ string(10) "mt_MT.utf8"
127+ [59]=>
128+ string(5) "nb_NO"
129+ [60]=>
130+ string(10) "nb_NO.utf8"
131+ [61]=>
132+ string(5) "ne_NP"
133+ [62]=>
134+ string(5) "nl_BE"
135+ [63]=>
136+ string(10) "nl_BE.utf8"
137+ [64]=>
138+ string(10) "nl_BE@euro"
139+ [65]=>
140+ string(5) "nl_NL"
141+ [66]=>
142+ string(10) "nl_NL.utf8"
143+ [67]=>
144+ string(10) "nl_NL@euro"
145+ [68]=>
146+ string(5) "nn_NO"
147+ [69]=>
148+ string(10) "nn_NO.utf8"
149+ [70]=>
150+ string(5) "no_NO"
151+ [71]=>
152+ string(10) "no_NO.utf8"
153+ [72]=>
154+ string(5) "oc_FR"
155+ [73]=>
156+ string(10) "oc_FR.utf8"
157+ [74]=>
158+ string(5) "om_ET"
159+ [75]=>
160+ string(5) "om_KE"
161+ [76]=>
162+ string(10) "om_KE.utf8"
163+ [77]=>
164+ string(5) "pa_IN"
165+ [78]=>
166+ string(5) "pl_PL"
167+ [79]=>
168+ string(10) "pl_PL.utf8"
169+ [80]=>
170+ string(5) "pt_BR"
171+ [81]=>
172+ string(10) "pt_BR.utf8"
173+ [82]=>
174+ string(5) "pt_PT"
175+ [83]=>
176+ string(10) "pt_PT.utf8"
177+ [84]=>
178+ string(10) "pt_PT@euro"
179+ [85]=>
180+ string(5) "ro_RO"
181+ [86]=>
182+ string(10) "ro_RO.utf8"
183+ [87]=>
184+ string(5) "ru_RU"
185+ [88]=>
186+ string(11) "ru_RU.koi8r"
187+ [89]=>
188+ string(10) "ru_RU.utf8"
189+ [90]=>
190+ string(5) "ru_UA"
191+ [91]=>
192+ string(10) "ru_UA.utf8"
193+ [92]=>
194+ string(5) "se_NO"
195+ [93]=>
196+ string(6) "sid_ET"
197+ [94]=>
198+ string(5) "sk_SK"
199+ [95]=>
200+ string(10) "sk_SK.utf8"
201+ [96]=>
202+ string(5) "sl_SI"
203+ [97]=>
204+ string(10) "sl_SI.utf8"
205+ [98]=>
206+ string(5) "so_DJ"
207+ [99]=>
208+ string(10) "so_DJ.utf8"
209+ [100]=>
210+ string(5) "so_ET"
211+ [101]=>
212+ string(5) "so_KE"
213+ [102]=>
214+ string(10) "so_KE.utf8"
215+ [103]=>
216+ string(5) "so_SO"
217+ [104]=>
218+ string(10) "so_SO.utf8"
219+ [105]=>
220+ string(5) "sq_AL"
221+ [106]=>
222+ string(10) "sq_AL.utf8"
223+ [107]=>
224+ string(5) "sr_CS"
225+ [108]=>
226+ string(10) "sr_CS.utf8"
227+ [109]=>
228+ string(5) "st_ZA"
229+ [110]=>
230+ string(10) "st_ZA.utf8"
231+ [111]=>
232+ string(5) "sv_FI"
233+ [112]=>
234+ string(10) "sv_FI.utf8"
235+ [113]=>
236+ string(10) "sv_FI@euro"
237+ [114]=>
238+ string(5) "sv_SE"
239+ [115]=>
240+ string(15) "sv_SE.iso885915"
241+ [116]=>
242+ string(10) "sv_SE.utf8"
243+ [117]=>
244+ string(5) "ta_IN"
245+ [118]=>
246+ string(5) "te_IN"
247+ [119]=>
248+ string(5) "tg_TJ"
249+ [120]=>
250+ string(10) "tg_TJ.utf8"
251+ [121]=>
252+ string(5) "th_TH"
253+ [122]=>
254+ string(10) "th_TH.utf8"
255+ [123]=>
256+ string(5) "ti_ER"
257+ [124]=>
258+ string(5) "ti_ET"
259+ [125]=>
260+ string(6) "tig_ER"
261+ [126]=>
262+ string(5) "tl_PH"
263+ [127]=>
264+ string(10) "tl_PH.utf8"
265+ [128]=>
266+ string(5) "tr_TR"
267+ [129]=>
268+ string(10) "tr_TR.utf8"
269+ [130]=>
270+ string(10) "tt_RU.utf8"
271+ [131]=>
272+ string(5) "uk_UA"
273+ [132]=>
274+ string(10) "uk_UA.utf8"
275+ [133]=>
276+ string(5) "ur_PK"
277+ [134]=>
278+ string(5) "uz_UZ"
279+ [135]=>
280+ string(14) "uz_UZ@cyrillic"
281+ [136]=>
282+ string(5) "vi_VN"
283+ [137]=>
284+ string(10) "vi_VN.tcvn"
285+ [138]=>
286+ string(5) "wa_BE"
287+ [139]=>
288+ string(10) "wa_BE.utf8"
289+ [140]=>
290+ string(10) "wa_BE@euro"
291+ [141]=>
292+ string(5) "xh_ZA"
293+ [142]=>
294+ string(10) "xh_ZA.utf8"
295+ [143]=>
296+ string(5) "yi_US"
297+ [144]=>
298+ string(10) "yi_US.utf8"
299+ [145]=>
300+ string(5) "zh_CN"
301+ [146]=>
302+ string(13) "zh_CN.gb18030"
303+ [147]=>
304+ string(9) "zh_CN.gbk"
305+ [148]=>
306+ string(10) "zh_CN.utf8"
307+ [149]=>
308+ string(5) "zh_HK"
309+ [150]=>
310+ string(10) "zh_HK.utf8"
311+ [151]=>
312+ string(5) "zh_SG"
313+ [152]=>
314+ string(9) "zh_SG.gbk"
315+ [153]=>
316+ string(10) "zh_SG.utf8"
317+ [154]=>
318+ string(5) "zh_TW"
319+ [155]=>
320+ string(11) "zh_TW.euctw"
321+ [156]=>
322+ string(10) "zh_TW.utf8"
323+ [157]=>
324+ string(5) "zu_ZA"
325+ [158]=>
326+ string(10) "zu_ZA.utf8"
327+ }
328+ Done
1 (0%)
002+ sh: warning: setlocale: LC_ALL: cannot change locale (en.US.UTF-8)
003+ locale: Cannot set LC_CTYPE to default locale: No such file or directory
004+ locale: Cannot set LC_MESSAGES to default locale: No such file or directory
005+ locale: Cannot set LC_COLLATE to default locale: No such file or directory
006- Test PASSED
010+ Test FAILED
011+ Names of locale() for which setlocale() failed ...
012+ array(1) {
013+ [0]=>
014+ string(0) ""
015+ }
1 (0%)
002+ sh: line 1: locale: command not found
1 (0%)