Test: /ext/standard/tests/strings/setlocale_variation5.phpt - Version 5.5.16    

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

Count Diff
1 (50%)
001+ The context allocation routine failed when it tried to load localization files!!
002+ One or more following problems may caused the failure
003+
004+ Your sybase home directory is /opt/sybase. Check the environment variable SYBASE if it is not the one you want!
005+ Using locale name "en_US.utf8;" defined in environment variable LC_ALL
006+ Locale name "en_US.utf8;" doesn't exist in your /opt/sybase/locales/locales.dat file
1 (50%)
001+
001- *** Testing setlocale() : usage variations - setting system locale = "" ***
002- Locale info, before setting the locale
003- array(18) {
004- ["decimal_point"]=>
005- string(1) "."
006- ["thousands_sep"]=>
007- string(1) ","
008- ["int_curr_symbol"]=>
009- string(4) "AUD "
010- ["currency_symbol"]=>
011- string(1) "$"
012- ["mon_decimal_point"]=>
013- string(1) "."
014- ["mon_thousands_sep"]=>
015- string(1) ","
016- ["positive_sign"]=>
017- string(0) ""
018- ["negative_sign"]=>
019- string(1) "-"
020- ["int_frac_digits"]=>
021- int(2)
022- ["frac_digits"]=>
023- int(2)
024- ["p_cs_precedes"]=>
025- int(1)
026- ["p_sep_by_space"]=>
027- int(0)
028- ["n_cs_precedes"]=>
029- int(1)
030- ["n_sep_by_space"]=>
031- int(0)
032- ["p_sign_posn"]=>
033- int(1)
034- ["n_sign_posn"]=>
035- int(1)
036- ["grouping"]=>
037- array(2) {
038- [0]=>
039- int(3)
040- [1]=>
041- int(3)
042- }
043- ["mon_grouping"]=>
044- array(2) {
045- [0]=>
046- int(3)
047- [1]=>
048- int(3)
049- }
050- }
051- Setting system locale, category = LC_ALL and locale = ""
052- Locale info, after setting the locale
053- array(18) {
054- ["decimal_point"]=>
055- string(1) "."
056- ["thousands_sep"]=>
057- string(1) ","
058- ["int_curr_symbol"]=>
059- string(4) "USD "
060- ["currency_symbol"]=>
061- string(1) "$"
062- ["mon_decimal_point"]=>
063- string(1) "."
064- ["mon_thousands_sep"]=>
065- string(1) ","
066- ["positive_sign"]=>
067- string(0) ""
068- ["negative_sign"]=>
069- string(1) "-"
070- ["int_frac_digits"]=>
071- int(2)
072- ["frac_digits"]=>
073- int(2)
074- ["p_cs_precedes"]=>
075- int(1)
076- ["p_sep_by_space"]=>
077- int(0)
078- ["n_cs_precedes"]=>
079- int(1)
080- ["n_sep_by_space"]=>
081- int(0)
082- ["p_sign_posn"]=>
083- int(1)
084- ["n_sign_posn"]=>
085- int(1)
086- ["grouping"]=>
087- array(2) {
088- [0]=>
089- int(3)
090- [1]=>
091- int(3)
092- }
093- ["mon_grouping"]=>
094- array(2) {
095- [0]=>
096- int(3)
097- [1]=>
098- int(3)
099- }
100- }
101- Checking new locale in the system, Expected : the locale names will be set from the values of environment variables
102- Test PASSED.
103- Done