Changes between Initial Version and Version 1 of Ticket #51207, comment 2
- Timestamp:
- 11/13/2022 01:49:10 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51207, comment 2
initial v1 1 1 Solution is to use a PHP version >7.4. See best anwer on https://stackoverflow.com/questions/53813908/print-rmysqli-1-changes-mysqli-affected-rows 2 2 3 4 There is a bug of sorts affecting use of mysqli within a live xdebug debugging session. This makes it so that the value of mysqli::affected_rows is always -1. 5 6 See: https://bugs.php.net/bug.php?id=67348 7 8 I was able to get the expected values for mysqli::affected_rows, by using var_dump() in lieu of live-inspecting the value.