Test: /ext/pdo_mysql/tests/bug_38546.phpt - Version 7.2.20-dev    

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
037+ ok prepare 3
038+ Array
039+ (
040+ [uid] => 6
041+ [0] => 6
042+ [some_bool_1] => 0
043+ [1] => 0
044+ [some_bool_2] => 0
045+ [2] => 0
046+ [some_int] => 3
047+ [3] => 3
048+ )
049+ ok prepare 4
037-
038- Warning: PDOStatement::execute(): SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'true' for column 'some_bool_1' at row 1 in %s
039- array(3) {
040- [0]=>
041- string(5) "HY000"
042- [1]=>
043- int(1366)
044- [2]=>
045- string(65) "Incorrect integer value: 'true' for column 'some_bool_1' at row 1"
046- }
051- [some_bool_1] => 0
052- [1] => 0
053- [some_bool_2] => 1
054- [2] => 1
055- [some_int] => 2
056- [3] => 2
054+ [some_bool_1] => 1
055+ [1] => 1
056+ [some_bool_2] => 0
057+ [2] => 0
058+ [some_int] => 4
059+ [3] => 4
058-
059- Warning: PDOStatement::execute(): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'some_bool_2' cannot be null in %s
060- array(3) {
061- [0]=>
062- string(5) "23000"
063- [1]=>
064- int(1048)
065- [2]=>
066- string(35) "Column 'some_bool_2' cannot be null"
067- }
068- Array
069- (
061+ ok prepare 5
062+ Array
063+ (
064+ [uid] => 6
065+ [0] => 6
066+ [some_bool_1] => 1
067+ [1] => 1
068+ [some_bool_2] => 0
069+ [2] => 0
070+ [some_int] => 5
071+ [3] => 5
072+ )
070- [uid] => 6
071- [0] => 6
072- [some_bool_1] => 0
073- [1] => 0
074- [some_bool_2] => 1
075- [2] => 1
076- [some_int] => 2
077- [3] => 2
078- )
079- ok prepare 5
080- Array
081- (
082- [uid] => 6
083- [0] => 6
084- [some_bool_1] => 1
085- [1] => 1
086- [some_bool_2] => 0
087- [2] => 0
088- [some_int] => 5
089- [3] => 5
090- )