[GIT-PULLS] [php-src] PR #22864: Fix GH-22854: assertion failure at link_errno_read in ext/mysqli/mysqli_prop.c

[email protected] (khaledalam) Wed, 22 Jul 2026 20:53:12 +0000
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/22864
Author: khaledalam

Fixes GH-22854.


### Problem
Reading the `errno` or `error` property of a mysqli object whose connection failed aborts the process with:

Assertion `p' failed. Aborted (core dumped)

(`link_errno_read`, ext/mysqli/mysqli_prop.c:225)