Test: /ext/standard/tests/strings/setlocale_variation4.phpt - Version 7.4.12    

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

Count Diff
541 (100%)
007+ string(0) "" 007- string(1) "," 009+ string(0) "" 009- string(4) "AUD " 011+ string(0) "" 011- string(1) "$" 013+ string(0) "" 013- string(1) "." 015+ string(0) "" 015- string(1) "," 019+ string(0) "" 019- string(1) "-" 021+ int(127) 021- int(2) 023+ int(127) 023- int(2) 025+ int(127) 025- int(1) 027+ int(127) 027- int(0) 029+ int(127) 029- int(1) 031+ int(127) 031- int(0) 033+ int(127) 033- int(1) 035+ int(127) 035- int(1) 037+ array(0) { 037- array(2) { 038- [0]=> 039- int(3) 040- [1]=> 041- int(3) 040+ array(0) { 044- array(2) { 045- [0]=> 046- int(3) 047- [1]=> 048- int(3) 049+ string(0) "" 051+ string(0) "" 053+ string(0) "" 055+ string(0) "" 057+ string(0) "" 057- string(1) "," 059- string(4) "USD " 061+ string(0) "" 061- string(1) "$" 063+ int(127) 063- string(1) "." 065+ int(127) 065- string(1) "," 067+ int(127) 069+ int(127) 069- string(1) "-" 071+ int(127) 071- int(2) 073+ int(127) 073- int(2) 075+ int(127) 075- int(1) 077+ int(127) 077- int(0) 079+ array(0) { 079- int(1) 081- int(0) 082+ array(0) { 083- int(1) 085- int(1) 086+ Test FAILED. 087- array(2) { 088- [0]=> 089- int(3) 090- [1]=> 091- int(3) 094- array(2) { 095- [0]=> 096- int(3) 097- [1]=> 098- int(3) 102- Test PASSED.
1 (0%)
037+ array(1) { 037- array(2) { 040+ } 041+ ["mon_grouping"]=> 042+ array(1) { 043+ [0]=> 040- [1]=> 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 = null 052- Locale info, after setting the locale 053- array(18) { 054- ["decimal_point"]=> 055- string(1) "." 056- ["thousands_sep"]=> 046+ } 047+ Setting system locale, category = LC_ALL and locale = null 048+ Locale info, after setting the locale 049+ array(18) { 050+ ["decimal_point"]=> 051+ string(1) "." 052+ ["thousands_sep"]=> 053+ string(1) "," 054+ ["int_curr_symbol"]=> 055+ string(4) "USD " 056+ ["currency_symbol"]=> 057+ string(1) "$" 058+ ["mon_decimal_point"]=> 059+ string(1) "." 060+ ["mon_thousands_sep"]=> 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"]=> 062+ ["positive_sign"]=> 063+ string(0) "" 064+ ["negative_sign"]=> 065+ string(1) "-" 066+ ["int_frac_digits"]=> 067+ int(2) 068+ ["frac_digits"]=> 072- ["frac_digits"]=> 073- int(2) 083+ array(1) { 086+ } 087+ ["mon_grouping"]=> 088+ array(1) { 089+ [0]=> 087- array(2) { 090- [1]=> 092+ } 093+ Checking new locale in the system, Expected : the locale names will be set from the values of environment variables 094+ Test PASSED. 095+ Done 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