1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 03:22:58 +02:00
Files
archived-php-src/ext/opcache/Optimizer
Tyson Andre 5d3e3a62a2 Be more precise about possible types for mysqli methods
mysqli has an uncommon approach to 64-bit compatibility:
it will convert numbers that can't be represented on 32-bit
platforms to a string.
This is documented at
https://www.php.net/manual/en/mysqli-stmt.affected-rows.php#refsect1-mysqli-stmt.affected-rows-returnvalues

So if there's a query to a remote mysqli server that affects
more than 2.2 billion rows, then the opcache inference might be
incorrect.

(It's possible to add a MAY_BE_STRING_ON_32_BIT_PLATFORM bitflag macro to
account for this, but I don't think there's a need or want to?)

Patches 3162285b86

This is based on the list of php 7.4 functions using
MYSQLI_RETURN_LONG_INT in mysqli_api.c
2019-06-11 15:40:33 +02:00
..
2018-11-01 18:35:32 +02:00
2019-01-22 12:15:06 +01:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2018-01-02 12:57:58 +08:00
2018-01-02 12:57:58 +08:00
2018-01-02 12:57:58 +08:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2019-04-03 03:09:47 +03:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2019-05-22 22:59:40 +03:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2018-11-01 18:35:32 +02:00
2019-01-10 14:50:39 +08:00
2018-11-01 18:35:32 +02:00
2019-03-18 10:51:00 +01:00
2018-11-01 18:35:32 +02:00