What are the potential issues when upgrading from PHP 5.x to 7.x, specifically related to mysqli_fetch_object usage?

When upgrading from PHP 5.x to 7.x, one potential issue related to `mysqli_fetch_object` is that the function no longer returns `NULL` when there are no more rows to fetch. Instead, it returns `false`. To address this, you can check the return value of `mysqli_fetch_object` against `false` to determine if there are more rows to fetch.

// Before upgrading to PHP 7.x
while ($row = mysqli_fetch_object($result)) {
    // Process the row
}

// After upgrading to PHP 7.x
while (($row = mysqli_fetch_object($result)) !== false) {
    // Process the row
}