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

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

Count Diff
50 (26%)
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
35 (18%)
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
16 (8%)
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
16 (8%)
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
13 (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
13 (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
8 (4%)
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+ }
8 (4%)
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+ }
6 (3%)
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
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
4 (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
3 (2%)
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
2 (1%)
2 (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(3) {
010+ [0]=>
011+ string(14) "hy_AM.armscii8"
012+ [1]=>
013+ string(19) "ja_JP.shiftjisx0213"
014+ [2]=>
015+ string(0) ""
016+ }
2 (1%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
008+ array(1) {
009+ [0]=>
010+ string(10) "es_CO.utf8"
011+ }
006- Test PASSED
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
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
006- Test PASSED
008+ Test FAILED
009+ Names of locale() for which setlocale() failed ...
010+ array(1) {
011+ [0]=>
012+ string(0) ""
013+ }
1 (1%)
002+ sh: locale: not found
1 (1%)
002+ sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
003+ locale: Cannot set LC_CTYPE to default locale: No such file or directory
004+ locale: Cannot set LC_MESSAGES to default locale: No such file or directory
005+ locale: Cannot set LC_COLLATE to default locale: No such file or directory
006- Test PASSED
010+ Test FAILED
011+ Names of locale() for which setlocale() failed ...
012+ array(1) {
013+ [0]=>
014+ string(0) ""
015+ }
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%)
006+ Test FAILED
007+ Names of locale() for which setlocale() failed ...
006- Test PASSED
007- Done
008+ array(15) {
009+ [0]=>
010+ string(2) "cs"
011+ [1]=>
012+ string(2) "da"
013+ [2]=>
014+ string(2) "de"
015+ [3]=>
016+ string(2) "es"
017+ [4]=>
018+ string(2) "et"
019+ [5]=>
020+ string(2) "fr"
021+ [6]=>
022+ string(10) "iso_8859_1"
023+ [7]=>
024+ string(2) "it"
025+ [8]=>
026+ string(2) "ko"
027+ [9]=>
028+ string(2) "no"
029+ [10]=>
030+ string(2) "pl"
031+ [11]=>
032+ string(2) "ru"
033+ [12]=>
034+ string(2) "sl"
035+ [13]=>
036+ string(2) "sv"
037+ [14]=>
038+ string(2) "tr"
039+ }
040+ Done