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

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

Count Diff
223 (28%)
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
213 (27%)
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
107 (14%)
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+ }
52 (7%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(0) ""
011+ }
006- Test PASSED
39 (5%)
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
28 (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
26 (3%)
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
21 (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+ }
15 (2%)
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
12 (2%)
002+ sh: locale: not found
10 (1%)
8 (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
5 (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
4 (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(2) {
010+ [0]=>
011+ string(16) "no_NO.ISO-8859-1"
012+ [1]=>
013+ string(0) ""
014+ }
3 (0%)
002+ locale: Cannot set LC_CTYPE to default locale: No such file or directory
003+ locale: Cannot set LC_COLLATE to default locale: No such file or directory
006- Test PASSED
008+ Test FAILED
009+ Names of locale() for which setlocale() failed ...
010+ array(1) {
011+ [0]=>
012+ string(0) ""
013+ }
3 (0%)
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 (0%)
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
2 (0%)
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 (0%)
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(2) {
010+ [0]=>
011+ string(14) "hy_AM.armscii8"
012+ [1]=>
013+ string(0) ""
014+ }
1 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(102) {
009+ [0]=>
010+ string(14) "hy_AM.armscii8"
011+ [1]=>
012+ string(5) "nr_ZA"
013+ [2]=>
014+ string(6) "nso_ZA"
015+ [3]=>
016+ string(5) "oc_FR"
017+ [4]=>
018+ string(10) "oc_FR.utf8"
019+ [5]=>
020+ string(5) "om_ET"
021+ [6]=>
022+ string(5) "om_KE"
023+ [7]=>
024+ string(10) "om_KE.utf8"
025+ [8]=>
026+ string(5) "or_IN"
027+ [9]=>
028+ string(5) "pa_IN"
029+ [10]=>
030+ string(5) "pa_PK"
031+ [11]=>
032+ string(5) "pl_PL"
033+ [12]=>
034+ string(10) "pl_PL.utf8"
035+ [13]=>
036+ string(5) "pt_BR"
037+ [14]=>
038+ string(10) "pt_BR.utf8"
039+ [15]=>
040+ string(5) "pt_PT"
041+ [16]=>
042+ string(10) "pt_PT@euro"
043+ [17]=>
044+ string(10) "pt_PT.utf8"
045+ [18]=>
046+ string(5) "ro_RO"
047+ [19]=>
048+ string(10) "ro_RO.utf8"
049+ [20]=>
050+ string(5) "ru_RU"
051+ [21]=>
052+ string(11) "ru_RU.koi8r"
053+ [22]=>
054+ string(5) "ru_UA"
055+ [23]=>
056+ string(10) "ru_UA.utf8"
057+ [24]=>
058+ string(5) "rw_RW"
059+ [25]=>
060+ string(5) "se_NO"
061+ [26]=>
062+ string(6) "sid_ET"
063+ [27]=>
064+ string(5) "si_LK"
065+ [28]=>
066+ string(5) "sk_SK"
067+ [29]=>
068+ string(10) "sk_SK.utf8"
069+ [30]=>
070+ string(5) "sl_SI"
071+ [31]=>
072+ string(10) "sl_SI.utf8"
073+ [32]=>
074+ string(5) "so_DJ"
075+ [33]=>
076+ string(10) "so_DJ.utf8"
077+ [34]=>
078+ string(5) "so_ET"
079+ [35]=>
080+ string(5) "so_KE"
081+ [36]=>
082+ string(10) "so_KE.utf8"
083+ [37]=>
084+ string(5) "so_SO"
085+ [38]=>
086+ string(10) "so_SO.utf8"
087+ [39]=>
088+ string(5) "sq_AL"
089+ [40]=>
090+ string(10) "sq_AL.utf8"
091+ [41]=>
092+ string(5) "sr_CS"
093+ [42]=>
094+ string(10) "sr_CS.utf8"
095+ [43]=>
096+ string(5) "sr_ME"
097+ [44]=>
098+ string(5) "sr_RS"
099+ [45]=>
100+ string(11) "sr_RS@latin"
101+ [46]=>
102+ string(5) "ss_ZA"
103+ [47]=>
104+ string(5) "st_ZA"
105+ [48]=>
106+ string(10) "st_ZA.utf8"
107+ [49]=>
108+ string(5) "sv_FI"
109+ [50]=>
110+ string(10) "sv_FI@euro"
111+ [51]=>
112+ string(10) "sv_FI.utf8"
113+ [52]=>
114+ string(5) "sv_SE"
115+ [53]=>
116+ string(15) "sv_SE.iso885915"
117+ [54]=>
118+ string(10) "sv_SE.utf8"
119+ [55]=>
120+ string(5) "ta_IN"
121+ [56]=>
122+ string(5) "te_IN"
123+ [57]=>
124+ string(5) "tg_TJ"
125+ [58]=>
126+ string(10) "tg_TJ.utf8"
127+ [59]=>
128+ string(5) "th_TH"
129+ [60]=>
130+ string(10) "th_TH.utf8"
131+ [61]=>
132+ string(5) "ti_ER"
133+ [62]=>
134+ string(5) "ti_ET"
135+ [63]=>
136+ string(6) "tig_ER"
137+ [64]=>
138+ string(5) "tl_PH"
139+ [65]=>
140+ string(10) "tl_PH.utf8"
141+ [66]=>
142+ string(5) "tn_ZA"
143+ [67]=>
144+ string(5) "tr_CY"
145+ [68]=>
146+ string(10) "tr_CY.utf8"
147+ [69]=>
148+ string(5) "tr_TR"
149+ [70]=>
150+ string(10) "tr_TR.utf8"
151+ [71]=>
152+ string(5) "ts_ZA"
153+ [72]=>
154+ string(10) "tt_RU.utf8"
155+ [73]=>
156+ string(5) "uk_UA"
157+ [74]=>
158+ string(10) "uk_UA.utf8"
159+ [75]=>
160+ string(5) "ur_PK"
161+ [76]=>
162+ string(5) "uz_UZ"
163+ [77]=>
164+ string(14) "uz_UZ@cyrillic"
165+ [78]=>
166+ string(5) "ve_ZA"
167+ [79]=>
168+ string(5) "vi_VN"
169+ [80]=>
170+ string(10) "vi_VN.tcvn"
171+ [81]=>
172+ string(5) "wa_BE"
173+ [82]=>
174+ string(10) "wa_BE@euro"
175+ [83]=>
176+ string(10) "wa_BE.utf8"
177+ [84]=>
178+ string(5) "xh_ZA"
179+ [85]=>
180+ string(10) "xh_ZA.utf8"
181+ [86]=>
182+ string(5) "yi_US"
183+ [87]=>
184+ string(10) "yi_US.utf8"
185+ [88]=>
186+ string(5) "zh_CN"
187+ [89]=>
188+ string(13) "zh_CN.gb18030"
189+ [90]=>
190+ string(9) "zh_CN.gbk"
191+ [91]=>
192+ string(10) "zh_CN.utf8"
193+ [92]=>
194+ string(5) "zh_HK"
195+ [93]=>
196+ string(10) "zh_HK.utf8"
197+ [94]=>
198+ string(5) "zh_SG"
199+ [95]=>
200+ string(9) "zh_SG.gbk"
201+ [96]=>
202+ string(10) "zh_SG.utf8"
203+ [97]=>
204+ string(5) "zh_TW"
205+ [98]=>
206+ string(11) "zh_TW.euctw"
207+ [99]=>
208+ string(10) "zh_TW.utf8"
209+ [100]=>
210+ string(5) "zu_ZA"
211+ [101]=>
212+ string(10) "zu_ZA.utf8"
213+ }
214+ Done
1 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(16) {
009+ [0]=>
010+ string(11) "kk_KZ.PT154"
011+ [1]=>
012+ string(15) "la_LN.ISO8859-1"
013+ [2]=>
014+ string(16) "la_LN.ISO8859-13"
015+ [3]=>
016+ string(16) "la_LN.ISO8859-15"
017+ [4]=>
018+ string(15) "la_LN.ISO8859-2"
019+ [5]=>
020+ string(15) "la_LN.ISO8859-4"
021+ [6]=>
022+ string(14) "la_LN.US-ASCII"
023+ [7]=>
024+ string(15) "lt_LT.ISO8859-4"
025+ [8]=>
026+ string(15) "no_NO.ISO8859-1"
027+ [9]=>
028+ string(16) "no_NO.ISO8859-15"
029+ [10]=>
030+ string(11) "no_NO.UTF-8"
031+ [11]=>
032+ string(15) "sr_YU.ISO8859-2"
033+ [12]=>
034+ string(15) "sr_YU.ISO8859-5"
035+ [13]=>
036+ string(11) "sr_YU.UTF-8"
037+ [14]=>
038+ string(15) "zh_HK.Big5HKSCS"
039+ [15]=>
040+ string(10) "zh_TW.Big5"
041+ }
042+ Done