Commit bae78c614a4 for php.net

commit bae78c614a4437065f7f9e007a580f1e1f2ad07b
Author: Niels Dossche <7771979+ndossche@users.noreply.github.com>
Date:   Sun Dec 28 13:08:40 2025 +0100

    Fix GH-19962: arrayIndexThenCheck static analysis warning in firebird

    Same as ce534c612b4cd6bd8445c70d8d8ee794d1076b5f.

diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c
index 7f4e7aeed87..cddfcbf25f3 100644
--- a/ext/pdo_firebird/firebird_statement.c
+++ b/ext/pdo_firebird/firebird_statement.c
@@ -172,7 +172,7 @@ static int firebird_stmt_execute(pdo_stmt_t *stmt) /* {{{ */
 					if (result_size > sizeof(result)) {
 						goto error;
 					}
-					while (result[i] != isc_info_end && i < result_size) {
+					while (i < result_size && result[i] != isc_info_end) {
 						short len = (short) isc_vax_integer(&result[i + 1], 2);
 						if (len != 1 && len != 2 && len != 4) {
 							goto error;