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

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

Count Diff
79 (49%)
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
22 (14%)
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
12 (7%)
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
11 (7%)
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
10 (6%)
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
5 (3%)
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
5 (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
5 (3%)
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 (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
1 (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 (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(33) {
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(11) "la_LN.ASCII"
045+ [18]=>
046+ string(17) "la_LN.DIS_8859-15"
047+ [19]=>
048+ string(15) "la_LN.ISO8859-1"
049+ [20]=>
050+ string(16) "la_LN.ISO8859-15"
051+ [21]=>
052+ string(15) "la_LN.ISO8859-2"
053+ [22]=>
054+ string(15) "la_LN.ISO8859-4"
055+ [23]=>
056+ string(16) "la_LN.ISO_8859-1"
057+ [24]=>
058+ string(17) "la_LN.ISO_8859-15"
059+ [25]=>
060+ string(16) "la_LN.ISO_8859-2"
061+ [26]=>
062+ string(16) "la_LN.ISO_8859-4"
063+ [27]=>
064+ string(14) "la_LN.US-ASCII"
065+ [28]=>
066+ string(17) "nl_BE.DIS_8859-15"
067+ [29]=>
068+ string(17) "nl_NL.DIS_8859-15"
069+ [30]=>
070+ string(17) "no_NO.DIS_8859-15"
071+ [31]=>
072+ string(17) "pt_PT.DIS_8859-15"
073+ [32]=>
074+ string(17) "sv_SE.DIS_8859-15"
075+ }
076+ Done
1 (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 (1%)
002+ sh: locale: not found
1 (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+ }
1 (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(14) "hy_AM.armscii8"
012+ [1]=>
013+ string(0) ""
014+ }
1 (1%)
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+ }
1 (1%)