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

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

Count Diff
50 (39%)
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
14 (11%)
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+ }
13 (10%)
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+ }
12 (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
9 (7%)
002+ sh: locale: not found
6 (5%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "zh_TW.Big5"
011+ }
006- Test PASSED
6 (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
3 (2%)
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
2 (2%)
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
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(3) {
009+ [0]=>
010+ string(14) "hy_AM.armscii8"
011+ [1]=>
012+ string(5) "sr_YU"
013+ [2]=>
014+ string(14) "sr_YU@cyrillic"
015+ }
006- Test PASSED
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(2) {
009+ [0]=>
010+ string(5) "de_CH"
011+ [1]=>
012+ string(10) "zh_TW.Big5"
013+ }
006- Test PASSED
1 (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 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(16) "en_US@ampm.UTF-8"
011+ }
006- Test PASSED
1 (1%)
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 (1%)
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
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(9) {
009+ [0]=>
010+ string(11) "la_LN.ASCII"
011+ [1]=>
012+ string(16) "la_LN.ISO_8859-1"
013+ [2]=>
014+ string(17) "la_LN.ISO_8859-15"
015+ [3]=>
016+ string(16) "la_LN.ISO_8859-2"
017+ [4]=>
018+ string(16) "la_LN.ISO_8859-4"
019+ [5]=>
020+ string(16) "lt_LT.ISO_8859-4"
021+ [6]=>
022+ string(16) "no_NO.ISO_8859-1"
023+ [7]=>
024+ string(17) "no_NO.ISO_8859-15"
025+ [8]=>
026+ string(10) "zh_TW.Big5"
027+ }
028+ Done
1 (1%)
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
1 (1%)
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 (1%)
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
1 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(13) {
009+ [0]=>
010+ string(10) "da_DK.utf8"
011+ [1]=>
012+ string(10) "es_ES.utf8"
013+ [2]=>
014+ string(10) "hu_HU.utf8"
015+ [3]=>
016+ string(10) "ja_JP.utf8"
017+ [4]=>
018+ string(10) "ko_KR.utf8"
019+ [5]=>
020+ string(10) "nb_NO.utf8"
021+ [6]=>
022+ string(10) "nl_NL.utf8"
023+ [7]=>
024+ string(10) "pl_PL.utf8"
025+ [8]=>
026+ string(10) "pt_BR.utf8"
027+ [9]=>
028+ string(10) "pt_PT.utf8"
029+ [10]=>
030+ string(10) "sv_SE.utf8"
031+ [11]=>
032+ string(10) "zh_CN.utf8"
033+ [12]=>
034+ string(10) "zh_TW.utf8"
035+ }
036+ Done
1 (1%)
003+ php: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
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