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

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

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