[php-src] PHP-8.5: Merge branch 'PHP-8.2' into PHP-8.3
| From: | Shivam Mathur | Date: | Mon, 26 Oct 2026 19:16:38 +0000 |
| Subject: | [php-src] PHP-8.5: Merge branch 'PHP-8.2' into PHP-8.3 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142759@lists.php.net to get a copy of this message | ||
Author: Shivam Mathur (shivammathur)
Date: 2026-10-27T00:45:23+05:30
Commit: https://github.com/php/php-src/commit/a6fefc914b9d2419193a2747c194591256fd0105
Raw diff: https://github.com/php/php-src/commit/a6fefc914b9d2419193a2747c194591256fd0105.diff
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
Fix SQL test on Windows (#24755)
Changed paths:
M ext/mysqli/tests/mysqli_poll_kill.phpt
Diff:
diff --git a/ext/mysqli/tests/mysqli_poll_kill.phpt b/ext/mysqli/tests/mysqli_poll_kill.phpt
index 3d59c89ec2f9..8651773b32a7 100644
--- a/ext/mysqli/tests/mysqli_poll_kill.phpt
+++ b/ext/mysqli/tests/mysqli_poll_kill.phpt
@@ -27,7 +27,7 @@ require_once 'skipifconnectfailure.inc';
// Sleep 0.1s - the asynchronous query should have been processed after the wait period
usleep(100000);
$thread_id = mysqli_thread_id($link);
- mysqli_kill(get_connection(), $thread_id);
+ get_connection()->query('KILL '.$thread_id);
$links = array($link);
$errors = array($link);
@@ -82,7 +82,7 @@ require_once 'skipifconnectfailure.inc';
usleep(100000);
$thread_id = mysqli_thread_id($link);
- mysqli_kill(get_connection(), $thread_id);
+ get_connection()->query('KILL '.$thread_id);
// Yes, 1 - fetch OK packet of kill!
$processed = 0;
@@ -140,7 +140,7 @@ require_once 'skipifconnectfailure.inc';
$link = get_connection();
$thread_id = mysqli_thread_id($link);
- mysqli_kill(get_connection(), $thread_id);
+ get_connection()->query('KILL '.$thread_id);
// Sleep 0.1s to ensure the KILL gets recognized
usleep(100000);
if (false !== ($tmp = mysqli_query($link, "SELECT 1 AS 'processed before
killed'", MYSQLI_ASYNC | MYSQLI_USE_RESULT)))