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

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

Count Diff
22 (20%)
010+ Fatal error: Class "this_class_does_not_exist" not found in %s/mysqli_fetch_object_oo.php on line 113 010- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
12 (11%)
001+ Fatal error: Uncaught Error: invalid object or resource mysqli
002+ in %s/mysqli_fetch_object_oo.php:6
003+ Stack trace:
004+ #0 %s/mysqli_fetch_object_oo.php(6): mysqli_result->__construct(Object(mysqli))
005+ #1 {main}
006+ thrown in %s/mysqli_fetch_object_oo.php on line 6
001- [E_WARNING] mysqli_result::__construct(): invalid object or resource mysqli
002- in %s on line %d
003- [E_WARNING] mysqli_result::fetch_object(): Couldn't fetch mysqli_result in %s on line %d
004- [0] mysqli_result::fetch_object() expects parameter 1 to be string, object given in %s on line %d
005- [0] mysqli_result::fetch_object() expects at most 2 parameters, 3 given in %s on line %d
006- [0] mysqli_result::fetch_object() expects parameter 2 to be array, null given in %s on line %d
007- Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected
008- NULL
009- NULL
010- [E_WARNING] mysqli_fetch_object(): Couldn't fetch mysqli_result in %s on line %d
011- bool(false)
012-
013- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
9 (8%)
005+ Segmentation fault (core dumped) 005- Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected 006- NULL 007- NULL 008- mysqli_result object is already closed 007+ Termsig=11 010- Fatal error: Class "this_class_does_not_exist" not found in %s on line %d
8 (7%)
002+ [0] mysqli_result::fetch_object(): Argument #1 ($class_name) must be of type string, mysqli given in %s/mysqli_fetch_object_oo.php on line 22 002- [0] mysqli_result::fetch_object(): Argument #1 ($class_name) must be of type string, object given in %s on line %d
8 (7%)
002+ 003+ Fatal error: Uncaught Error: my_mysqli object is already closed in /home/travis/build/kocsismate/php-src/ext/mysqli/tests/connect.inc:95 004+ Stack trace: 005+ #0 /home/travis/build/kocsismate/php-src/ext/mysqli/tests/connect.inc(95): mysqli->real_connect('127.0.0.1', 'travis', '', 'test', 3306, NULL, 0) 006+ #1 %s/mysqli_fetch_object_oo.php(13): my_mysqli->__construct('127.0.0.1', 'travis', '', 'test', 3306, NULL) 007+ #2 {main} 008+ thrown in /home/travis/build/kocsismate/php-src/ext/mysqli/tests/connect.inc on line 95 002- [0] mysqli_result::fetch_object(): Argument #1 ($class_name) must be of type string, object given in %s on line %d 003- [0] mysqli_result::fetch_object() expects at most 2 parameters, 3 given in %s on line %d 004- [0] mysqli_result::fetch_object(): Argument #2 ($params) must be of type array, null given in %s on line %d 005- Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected 006- NULL 007- NULL 008- mysqli_result object is already closed 009- 010- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
6 (6%)
009- NULL
010- [E_WARNING] mysqli_fetch_object(): Couldn't fetch mysqli_result in %s on line %d
011- bool(false)
010+ Fatal error: Return value of mysqli_fetch_object() must be an object, null returned in Unknown on line 0
013- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
6 (6%)
004+ [0] Argument 1 passed to mysqli_result::fetch_object() must be of type string, object given in %s/mysqli_fetch_object_oo.php on line 20
004- [0] mysqli_result::fetch_object() expects parameter 1 to be string, object given in %s on line %d
006+ [0] Argument 2 passed to mysqli_result::fetch_object() must be of type array, null given in %s/mysqli_fetch_object_oo.php on line 66
006- [0] mysqli_result::fetch_object() expects parameter 2 to be array, null given in %s on line %d
6 (6%)
002+ [0] mysqli_result::fetch_object() expects argument #1 ($class_name) to be of type string, object given in %s/mysqli_fetch_object_oo.php on line 22 002- [0] mysqli_result::fetch_object() expects argument #1 to be of type string, object given in %s on line %d 004+ [0] mysqli_result::fetch_object() expects argument #2 ($params) to be of type array, null given in %s/mysqli_fetch_object_oo.php on line 68 004- [0] mysqli_result::fetch_object() expects argument #2 to be of type array, null given in %s on line %d
5 (5%)
002- Couldn't fetch mysqli_result
009+
5 (5%)
002- Couldn't fetch mysqli_result
008+
009+ Fatal error: Uncaught Error: Couldn't fetch mysqli_result in %s/mysqli_fetch_object_oo.php:106
009- Couldn't fetch mysqli_result
010- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
010+ Stack trace:
011+ #0 %s/mysqli_fetch_object_oo.php(106): mysqli_fetch_object(Object(mysqli_result))
012+ #1 {main}
013+ thrown in %s/mysqli_fetch_object_oo.php on line 106
4 (4%)
004- [0] mysqli_result::fetch_object(): Argument #2 ($params) must be of type array, null given in %s on line %d 005- Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected 006- NULL 007- NULL 008- mysqli_result object is already closed 005+ Fatal error: Uncaught Exception: Class stdClass does not have a constructor hence you cannot use ctor_params in %s/mysqli_fetch_object_oo.php:36 010- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d 006+ Stack trace: 007+ #0 %s/mysqli_fetch_object_oo.php(36): mysqli_fetch_object(Object(mysqli_result), 'stdClass', Array) 008+ #1 {main} 009+ thrown in %s/mysqli_fetch_object_oo.php on line 36
4 (4%)
004+ Segmentation fault (core dumped) 004- [0] mysqli_result::fetch_object() expects parameter 2 to be array, null given in %s on line %d 005- Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected 006- NULL 007- NULL 008- mysqli_result object is already closed 006+ Termsig=11 010- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
4 (4%)
004+
005+ Fatal error: Return value of mysqli_result::fetch_object() must be an object, bool returned in Unknown on line 0
004- [0] mysqli_result::fetch_object() expects parameter 1 to be string, object given in %s on line %d
005- [0] mysqli_result::fetch_object() expects at most 2 parameters, 3 given in %s on line %d
006- [0] mysqli_result::fetch_object() expects parameter 2 to be array, null given in %s on line %d
007- Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected
008- NULL
009- NULL
010- [E_WARNING] mysqli_fetch_object(): Couldn't fetch mysqli_result in %s on line %d
011- bool(false)
012-
013- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
3 (3%)
008+ mysqli_result object is already closed
009- mysqli_result object is already closed
3 (3%)
002+
003+ Call to a member function fetch_object() on bool
002- Couldn't fetch mysqli_result
009- Couldn't fetch mysqli_result
010- Fatal error: Class 'this_class_does_not_exist' not found in %s on line %d
010+
011+ Fatal error: Uncaught Error: Couldn't fetch mysqli_result in %s/mysqli_fetch_object_oo.php:113
012+ Stack trace:
013+ #0 %s/mysqli_fetch_object_oo.php(113): mysqli_fetch_object(Object(mysqli_result))
014+ #1 {main}
015+ thrown in %s/mysqli_fetch_object_oo.php on line 113
2 (2%)
005+ Segmentation fault 005- Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected 006- NULL 007- NULL 008- mysqli_result object is already closed 007+ Termsig=11 010- Fatal error: Class "this_class_does_not_exist" not found in %s on line %d
1 (1%)
005+ Segmentation fault 005- Exception: Too few arguments to function mysqli_fetch_object_construct::__construct(), 1 passed and exactly 2 expected 006- NULL 007- NULL 008- mysqli_result object is already closed 009- 010- Fatal error: Class "this_class_does_not_exist" not found in %s on line %d