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

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

Count Diff
2 (50%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(31) {
009+ [0]=>
010+ string(10) "cs_CZ.utf8"
011+ [1]=>
012+ string(5) "de_DE"
013+ [2]=>
014+ string(14) "de_DE.iso88591"
015+ [3]=>
016+ string(20) "de_DE.iso885915@euro"
017+ [4]=>
018+ string(10) "de_DE.utf8"
019+ [5]=>
020+ string(10) "de_DE@euro"
021+ [6]=>
022+ string(10) "en_GB.utf8"
023+ [7]=>
024+ string(5) "en_HK"
025+ [8]=>
026+ string(14) "en_HK.iso88591"
027+ [9]=>
028+ string(5) "en_PH"
029+ [10]=>
030+ string(14) "en_PH.iso88591"
031+ [11]=>
032+ string(5) "en_US"
033+ [12]=>
034+ string(14) "en_US.iso88591"
035+ [13]=>
036+ string(5) "es_MX"
037+ [14]=>
038+ string(14) "es_MX.iso88591"
039+ [15]=>
040+ string(5) "fa_IR"
041+ [16]=>
042+ string(10) "fa_IR.utf8"
043+ [17]=>
044+ string(5) "fr_FR"
045+ [18]=>
046+ string(14) "fr_FR.iso88591"
047+ [19]=>
048+ string(20) "fr_FR.iso885915@euro"
049+ [20]=>
050+ string(10) "fr_FR.utf8"
051+ [21]=>
052+ string(10) "fr_FR@euro"
053+ [22]=>
054+ string(5) "it_IT"
055+ [23]=>
056+ string(14) "it_IT.iso88591"
057+ [24]=>
058+ string(10) "it_IT.utf8"
059+ [25]=>
060+ string(5) "ja_JP"
061+ [26]=>
062+ string(11) "ja_JP.eucjp"
063+ [27]=>
064+ string(11) "ru_RU.koi8r"
065+ [28]=>
066+ string(10) "ru_RU.utf8"
067+ [29]=>
068+ string(10) "tr_TR.utf8"
069+ [30]=>
070+ string(13) "zh_CN.gb18030"
071+ }
072+ Done
1 (25%)
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 (25%)
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+ }