Skip to content

Conversation

@phansys
Copy link

@phansys phansys commented Feb 6, 2023

If the number of rows is greater than PHP_INT_MAX, the number will be returned as a string.

If the number of affected rows is greater than maximum PHP int value, the number of affected rows will be returned as a string value.

@phansys phansys marked this pull request as ready for review February 6, 2023 06:59
@ondrejmirtes
Copy link
Member

These stubs are automatically extracted, your changes would be overwritten immediately. You need to fix it in php-src, preferably in an earliest branch as possible - PHP-8.0.

Meanwhile, you can also report this problem in phpstan/phpstan, it might have another solution.

@ondrejmirtes
Copy link
Member

Yeah, these can be just fixed in resources/functionMap.php in phpstan-src.

@phansys phansys deleted the mysqli branch February 6, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants