Test: /ext/mysqli/tests/bug74968.phpt - Version 7.4.21        

Bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
Submitted: 2017-07-22 04:56:59 Modified:
From: toto Assigned:
Status: Closed Package: MySQLi related
PHP Version: 7.1.7 OS: Windows

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Warning: mysqli::__construct(): (HY000/1698): Access denied for user 'root'@'localhost' in %s/bug74968.php on line 4 002+ 003+ Warning: mysqli::query(): Couldn't fetch mysqli in %s/bug74968.php on line 8 004+ 005+ Fatal error: Uncaught Error: Call to a member function fetch_object() on bool in %s/bug74968.php:8 001- Fatal error: Uncaught Error: Class 'test' cannot be instantiated in %sbug74968.php:%d 003- #0 %sbug74968.php(%d): mysqli_result->fetch_object('test') 004- #1 {main} 007+ #0 {main}