[php-src] master: Merge branch 'PHP-8.5' into PHP-8.6

From: Date: Sun, 01 Nov 2026 12:59:55 +0000
Subject: [php-src] master: Merge branch 'PHP-8.5' into PHP-8.6
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143140@lists.php.net to get a copy of this message
Author: Shivam Mathur (shivammathur) Date: 2026-11-01T18:29:17+05:30 Commit: https://github.com/php/php-src/commit/bd69eced20c08ca90ba9cd598c89f4121b76c39d Raw diff: https://github.com/php/php-src/commit/bd69eced20c08ca90ba9cd598c89f4121b76c39d.diff Merge branch 'PHP-8.5' into PHP-8.6 * PHP-8.5: Fix calling conventions in Windows alertable sleep test (#25125) Changed paths: M ext/standard/tests/general_functions/sleep_alertable_win32.phpt Diff: diff --git a/ext/standard/tests/general_functions/sleep_alertable_win32.phpt b/ext/standard/tests/general_functions/sleep_alertable_win32.phpt index 55da154ccf75..33e08ed844b0 100644 --- a/ext/standard/tests/general_functions/sleep_alertable_win32.phpt +++ b/ext/standard/tests/general_functions/sleep_alertable_win32.phpt @@ -19,10 +19,10 @@ $kernel32 = FFI::cdef(<<<C unsigned long SleepEx(unsigned long milliseconds, int alertable); C, 'kernel32.dll'); $ffi = FFI::cdef(<<<C - typedef void ($callconv *PAPCFUNC)(uintptr_t); - typedef void *($callconv *GetCurrentThread_t)(void); - typedef unsigned long ($callconv *QueueUserAPC_t)(PAPCFUNC callback, void *thread, uintptr_t data); - typedef unsigned long ($callconv *SleepEx_t)(unsigned long milliseconds, int alertable); + typedef void $callconv (*PAPCFUNC)(uintptr_t); + typedef void *$callconv (*GetCurrentThread_t)(void); + typedef unsigned long $callconv (*QueueUserAPC_t)(PAPCFUNC callback, void *thread, uintptr_t data); + typedef unsigned long $callconv (*SleepEx_t)(unsigned long milliseconds, int alertable); C); $GetCurrentThread = $ffi->cast('GetCurrentThread_t', $kernel32->GetCurrentThread); $QueueUserAPC = $ffi->cast('QueueUserAPC_t', $kernel32->QueueUserAPC);

« previous php.cvs (#143140) next »