Test: /ext/mysql/tests/mysql_fetch_array.phpt - Version 5.3.17    

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

Count Diff
2 (40%)
001+ Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50163 Library:50528 in /usr/local/src/php-5.3.17/ext/mysql/tests/connect.inc on line 37
1 (20%)
048+ [010] Cannot run query, [1054] Unknown column 'true' in 'field list'
049- array(11) {
050- [0]=>
051- %unicode|string%(1) "1"
052- [%u|b%"a"]=>
053- %unicode|string%(1) "2"
054- [1]=>
055- %unicode|string%(1) "2"
056- [2]=>
057- %unicode|string%(1) "3"
058- [%u|b%"c"]=>
059- %unicode|string%(1) "3"
050+
051+ Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in %s/mysql_fetch_array.php on line 39
052+ NULL
053+
054+ Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in %s/mysql_fetch_array.php on line 41
055+
056+ Warning: mysql_fetch_array(): The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH in %s/mysql_fetch_array.php on line 51
057+ [0477] Expecting string/2014-04-18 16:26:34, got string/20140418162634 resp. string/20140418162634. [0]
058+
059+ Warning: mysql_fetch_array(): 8 is not a valid MySQL result resource in %s/mysql_fetch_array.php on line 266
060+ done!
060- [3]=>
061- %unicode|string%(1) "4"
062- [%u|b%"C"]=>
063- %unicode|string%(1) "4"
064- [4]=>
065- NULL
066- [%u|b%"d"]=>
067- NULL
068- [5]=>
069- %unicode|string%(1) "1"
070- [%u|b%"e"]=>
071- %unicode|string%(1) "1"
072- }
073-
074- Warning: mysql_fetch_array(): The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH in %s on line %d
075-
076- Warning: mysql_fetch_array(): %d is not a valid MySQL result resource in %s on line %d
077- done!
1 (20%)
048+ [010] Cannot run query, [1054] Unknown column 'true' in 'field list'
049- array(11) {
050- [0]=>
051- %unicode|string%(1) "1"
052- [%u|b%"a"]=>
053- %unicode|string%(1) "2"
054- [1]=>
055- %unicode|string%(1) "2"
056- [2]=>
057- %unicode|string%(1) "3"
058- [%u|b%"c"]=>
059- %unicode|string%(1) "3"
050+
051+ Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in %s/mysql_fetch_array.php on line 39
052+ NULL
053+
054+ Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in %s/mysql_fetch_array.php on line 41
055+
056+ Warning: mysql_fetch_array(): The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH in %s/mysql_fetch_array.php on line 51
057+ [0477] Expecting string/2014-04-14 01:14:08, got string/20140414011408 resp. string/20140414011408. [0]
058+
059+ Warning: mysql_fetch_array(): 8 is not a valid MySQL result resource in %s/mysql_fetch_array.php on line 266
060+ done!
060- [3]=>
061- %unicode|string%(1) "4"
062- [%u|b%"C"]=>
063- %unicode|string%(1) "4"
064- [4]=>
065- NULL
066- [%u|b%"d"]=>
067- NULL
068- [5]=>
069- %unicode|string%(1) "1"
070- [%u|b%"e"]=>
071- %unicode|string%(1) "1"
072- }
073-
074- Warning: mysql_fetch_array(): The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH in %s on line %d
075-
076- Warning: mysql_fetch_array(): %d is not a valid MySQL result resource in %s on line %d
077- done!
1 (20%)
001+ Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50159 Library:50096 in /usr/local/src/php-5.3.17/ext/mysql/tests/connect.inc on line 37