Test: /ext/mysqli/tests/mysqli_change_user_set_names.phpt - Version 5.3.23    

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

Count Diff
2 (29%)
001+ [012] Charsets/collations have not been reset to their defaults.
001- done!
002+ Got:
003+ array(6) {
004+ ["charset_client"]=>
005+ string(6) "latin1"
006+ ["charset_connection"]=>
007+ string(6) "latin1"
008+ ["charset_results"]=>
009+ string(6) "latin1"
010+ ["collation_connection"]=>
011+ string(17) "latin1_swedish_ci"
012+ ["collation_database"]=>
013+ string(8) "utf8_bin"
014+ ["collation_server"]=>
015+ string(8) "utf8_bin"
016+ }
017+ Expected:
018+ array(6) {
019+ ["charset_client"]=>
020+ string(4) "utf8"
021+ ["charset_connection"]=>
022+ string(4) "utf8"
023+ ["charset_results"]=>
024+ string(4) "utf8"
025+ ["collation_connection"]=>
026+ string(8) "utf8_bin"
027+ ["collation_database"]=>
028+ string(8) "utf8_bin"
029+ ["collation_server"]=>
030+ string(8) "utf8_bin"
031+ }
032+ [014] Expecting connection charset to be utf8 got latin1
033+ [015] Expecting collation to be utf8_bin got latin1_swedish_ci
034+ done!
2 (29%)
001+ [012] Charsets/collations have not been reset to their defaults.
001- done!
002+ Got:
003+ array(6) {
004+ ["charset_client"]=>
005+ string(6) "latin1"
006+ ["charset_connection"]=>
007+ string(6) "latin1"
008+ ["charset_results"]=>
009+ string(6) "latin1"
010+ ["collation_connection"]=>
011+ string(17) "latin1_swedish_ci"
012+ ["collation_database"]=>
013+ string(15) "utf8_general_ci"
014+ ["collation_server"]=>
015+ string(15) "utf8_general_ci"
016+ }
017+ Expected:
018+ array(6) {
019+ ["charset_client"]=>
020+ string(4) "utf8"
021+ ["charset_connection"]=>
022+ string(4) "utf8"
023+ ["charset_results"]=>
024+ string(4) "utf8"
025+ ["collation_connection"]=>
026+ string(15) "utf8_general_ci"
027+ ["collation_database"]=>
028+ string(15) "utf8_general_ci"
029+ ["collation_server"]=>
030+ string(15) "utf8_general_ci"
031+ }
032+ [014] Expecting connection charset to be utf8 got latin1
033+ [015] Expecting collation to be utf8_general_ci got latin1_swedish_ci
034+ done!
2 (29%)
001+ [012] Charsets/collations have not been reset to their defaults.
001- done!
002+ Got:
003+ array(6) {
004+ ["charset_client"]=>
005+ string(4) "utf8"
006+ ["charset_connection"]=>
007+ string(4) "utf8"
008+ ["charset_results"]=>
009+ string(4) "utf8"
010+ ["collation_connection"]=>
011+ string(15) "utf8_general_ci"
012+ ["collation_database"]=>
013+ string(15) "utf8_unicode_ci"
014+ ["collation_server"]=>
015+ string(15) "utf8_unicode_ci"
016+ }
017+ Expected:
018+ array(6) {
019+ ["charset_client"]=>
020+ string(4) "utf8"
021+ ["charset_connection"]=>
022+ string(4) "utf8"
023+ ["charset_results"]=>
024+ string(4) "utf8"
025+ ["collation_connection"]=>
026+ string(15) "utf8_unicode_ci"
027+ ["collation_database"]=>
028+ string(15) "utf8_unicode_ci"
029+ ["collation_server"]=>
030+ string(15) "utf8_unicode_ci"
031+ }
032+ [015] Expecting collation to be utf8_unicode_ci got utf8_general_ci
033+ done!
1 (14%)
001+ [012] Charsets/collations have not been reset to their defaults.
001- done!
002+ Got:
003+ array(6) {
004+ ["charset_client"]=>
005+ string(6) "latin1"
006+ ["charset_connection"]=>
007+ string(6) "latin1"
008+ ["charset_results"]=>
009+ string(6) "latin1"
010+ ["collation_connection"]=>
011+ string(17) "latin1_swedish_ci"
012+ ["collation_database"]=>
013+ string(17) "latin1_swedish_ci"
014+ ["collation_server"]=>
015+ string(15) "utf8_general_ci"
016+ }
017+ Expected:
018+ array(6) {
019+ ["charset_client"]=>
020+ string(4) "utf8"
021+ ["charset_connection"]=>
022+ string(4) "utf8"
023+ ["charset_results"]=>
024+ string(4) "utf8"
025+ ["collation_connection"]=>
026+ string(15) "utf8_general_ci"
027+ ["collation_database"]=>
028+ string(17) "latin1_swedish_ci"
029+ ["collation_server"]=>
030+ string(15) "utf8_general_ci"
031+ }
032+ [014] Expecting connection charset to be utf8 got latin1
033+ [015] Expecting collation to be utf8_general_ci got latin1_swedish_ci
034+ done!