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

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

Count Diff
74 (30%)
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
44 (18%)
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
38 (15%)
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
24 (10%)
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
21 (9%)
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 (3%)
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
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%)
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+ }
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+ }
3 (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(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(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
2 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(8) {
009+ [0]=>
010+ string(2) "de"
011+ [1]=>
012+ string(2) "eo"
013+ [2]=>
014+ string(15) "la_LN.ISO8859-1"
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(2) "nl"
025+ }
026+ Done
2 (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
2 (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
1 (0%)
1 (0%)
002+ sh: locale: not found
1 (0%)
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 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(11) {
009+ [0]=>
010+ string(20) "LC_CTYPE=en_US.UTF-8"
011+ [1]=>
012+ string(19) "LC_LANG=en_US.UTF-8"
013+ [2]=>
014+ string(19) "LC_TIME=en_US.UTF-8"
015+ [3]=>
016+ string(18) "LC_ALL=en_US.UTF-8"
017+ [4]=>
018+ string(23) "LC_MESSAGES=en_US.UTF-8"
019+ [5]=>
020+ string(14) "LC=en_US.UTF-8"
021+ [6]=>
022+ string(21) "LC_LOCALE=en_US.UTF-8"
023+ [7]=>
024+ string(22) "LC_COLLATE=en_US.UTF-8"
025+ [8]=>
026+ string(23) "LC_MONETARY=en_US.UTF-8"
027+ [9]=>
028+ string(23) "LC_NUMERICS=en_US.UTF-8"
029+ [10]=>
030+ string(16) "LANG=en_US.UTF-8"
031+ }
032+ Done
1 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(23) {
009+ [0]=>
010+ string(15) "ca_ES.utf8@euro"
011+ [1]=>
012+ string(15) "de_AT.utf8@euro"
013+ [2]=>
014+ string(15) "de_BE.utf8@euro"
015+ [3]=>
016+ string(15) "de_DE.utf8@euro"
017+ [4]=>
018+ string(15) "de_LU.utf8@euro"
019+ [5]=>
020+ string(15) "en_IE.utf8@euro"
021+ [6]=>
022+ string(15) "es_ES.utf8@euro"
023+ [7]=>
024+ string(15) "eu_ES.utf8@euro"
025+ [8]=>
026+ string(15) "fi_FI.utf8@euro"
027+ [9]=>
028+ string(15) "fr_BE.utf8@euro"
029+ [10]=>
030+ string(15) "fr_FR.utf8@euro"
031+ [11]=>
032+ string(15) "fr_LU.utf8@euro"
033+ [12]=>
034+ string(15) "ga_IE.utf8@euro"
035+ [13]=>
036+ string(15) "gl_ES.utf8@euro"
037+ [14]=>
038+ string(15) "it_IT.utf8@euro"
039+ [15]=>
040+ string(15) "nl_BE.utf8@euro"
041+ [16]=>
042+ string(15) "nl_NL.utf8@euro"
043+ [17]=>
044+ string(15) "pt_PT.utf8@euro"
045+ [18]=>
046+ string(5) "sr_YU"
047+ [19]=>
048+ string(14) "sr_YU.iso88592"
049+ [20]=>
050+ string(10) "sr_YU.utf8"
051+ [21]=>
052+ string(19) "sr_YU.utf8@cyrillic"
053+ [22]=>
054+ string(15) "sv_FI.utf8@euro"
055+ }
056+ Done
1 (0%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(36) {
009+ [0]=>
010+ string(17) "da_DK.DIS_8859-15"
011+ [1]=>
012+ string(17) "de_AT.DIS_8859-15"
013+ [2]=>
014+ string(17) "de_CH.DIS_8859-15"
015+ [3]=>
016+ string(17) "de_DE.DIS_8859-15"
017+ [4]=>
018+ string(17) "en_AU.DIS_8859-15"
019+ [5]=>
020+ string(17) "en_CA.DIS_8859-15"
021+ [6]=>
022+ string(17) "en_GB.DIS_8859-15"
023+ [7]=>
024+ string(17) "en_US.DIS_8859-15"
025+ [8]=>
026+ string(17) "es_ES.DIS_8859-15"
027+ [9]=>
028+ string(17) "fi_FI.DIS_8859-15"
029+ [10]=>
030+ string(17) "fr_BE.DIS_8859-15"
031+ [11]=>
032+ string(17) "fr_CA.DIS_8859-15"
033+ [12]=>
034+ string(17) "fr_CH.DIS_8859-15"
035+ [13]=>
036+ string(17) "fr_FR.DIS_8859-15"
037+ [14]=>
038+ string(17) "is_IS.DIS_8859-15"
039+ [15]=>
040+ string(17) "it_CH.DIS_8859-15"
041+ [16]=>
042+ string(17) "it_IT.DIS_8859-15"
043+ [17]=>
044+ string(9) "ja_JP.EUC"
045+ [18]=>
046+ string(9) "ko_KR.EUC"
047+ [19]=>
048+ string(11) "la_LN.ASCII"
049+ [20]=>
050+ string(17) "la_LN.DIS_8859-15"
051+ [21]=>
052+ string(15) "la_LN.ISO8859-1"
053+ [22]=>
054+ string(16) "la_LN.ISO8859-15"
055+ [23]=>
056+ string(15) "la_LN.ISO8859-2"
057+ [24]=>
058+ string(15) "la_LN.ISO8859-4"
059+ [25]=>
060+ string(16) "la_LN.ISO_8859-1"
061+ [26]=>
062+ string(17) "la_LN.ISO_8859-15"
063+ [27]=>
064+ string(16) "la_LN.ISO_8859-2"
065+ [28]=>
066+ string(16) "la_LN.ISO_8859-4"
067+ [29]=>
068+ string(14) "la_LN.US-ASCII"
069+ [30]=>
070+ string(17) "nl_BE.DIS_8859-15"
071+ [31]=>
072+ string(17) "nl_NL.DIS_8859-15"
073+ [32]=>
074+ string(17) "no_NO.DIS_8859-15"
075+ [33]=>
076+ string(17) "pt_PT.DIS_8859-15"
077+ [34]=>
078+ string(17) "sv_SE.DIS_8859-15"
079+ [35]=>
080+ string(9) "zh_CN.EUC"
081+ }
082+ Done