Test: /ext/mysqli/tests/mysqli_connect_attr.phpt - Version 8.0.0-dev    

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

Count Diff
16 (50%)
001+ object(mysqli_result)#3 (5) {
001- done!
002+ ["current_field"]=>
003+ int(0)
004+ ["field_count"]=>
005+ int(4)
006+ ["lengths"]=>
007+ NULL
008+ ["num_rows"]=>
009+ int(0)
010+ ["type"]=>
011+ int(0)
012+ }
013+ array(0) {
014+ }
015+ NULL
016+ done!
4 (13%)
001+ Notice: Trying to access array offset on value of type null in %s/mysqli_connect_attr.php on line 16
002+ [003] _server_host value mismatch
003+
004+ Notice: Trying to access array offset on value of type null in %s/mysqli_connect_attr.php on line 27
005+ [005] _client_name value mismatch
2 (6%)
001+ object(mysqli_result)#3 (5) {
001- done!
002+ ["current_field"]=>
003+ int(0)
004+ ["field_count"]=>
005+ int(4)
006+ ["lengths"]=>
007+ NULL
008+ ["num_rows"]=>
009+ int(2)
010+ ["type"]=>
011+ int(0)
012+ }
013+ array(2) {
014+ [0]=>
015+ array(4) {
016+ [0]=>
017+ string(3) "471"
018+ [1]=>
019+ string(12) "_client_name"
020+ [2]=>
021+ string(7) "mysqlnd"
022+ [3]=>
023+ string(1) "0"
024+ }
025+ [1]=>
026+ array(4) {
027+ [0]=>
028+ string(3) "471"
029+ [1]=>
030+ string(12) "_server_host"
031+ [2]=>
032+ string(9) "127.0.0.1"
033+ [3]=>
034+ string(1) "1"
035+ }
036+ }
037+ array(4) {
038+ ["PROCESSLIST_ID"]=>
039+ string(3) "471"
040+ ["ATTR_NAME"]=>
041+ string(12) "_server_host"
042+ ["ATTR_VALUE"]=>
043+ string(9) "127.0.0.1"
044+ ["ORDINAL_POSITION"]=>
045+ string(1) "1"
046+ }
047+ NULL
048+ done!
2 (6%)
001+ object(mysqli_result)#3 (5) {
001- done!
002+ ["current_field"]=>
003+ int(0)
004+ ["field_count"]=>
005+ int(4)
006+ ["lengths"]=>
007+ NULL
008+ ["num_rows"]=>
009+ int(0)
010+ ["type"]=>
011+ int(0)
012+ }
013+
014+ Warning: Invalid argument supplied for foreach() in %s/mysqli_connect_attr.php on line 36
015+
016+ Notice: Trying to access array offset on value of type null in %s/mysqli_connect_attr.php on line 39
017+ [005] _client_name value mismatch
018+ done!
2 (6%)
001+ Warning: Invalid argument supplied for foreach() in %s/mysqli_connect_attr.php on line 36
002+
003+ Notice: Trying to access array offset on value of type null in %s/mysqli_connect_attr.php on line 39
004+ [005] _client_name value mismatch
2 (6%)
001+ Parse error: syntax error, unexpected ';', expecting ')' in %s/mysqli_connect_attr.php on line 10
001- done!
2 (6%)
001+ Notice: Trying to access array offset on value of type null in %s/mysqli_connect_attr.php on line 18
002+ [003] _server_host value mismatch
003+
004+ Notice: Trying to access array offset on value of type null in %s/mysqli_connect_attr.php on line 30
005+ [005] _client_name value mismatch
2 (6%)
001+ NULL