Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit ad736f9

Browse files
andypostac000
authored andcommitted
php: Add a new to 8.5 SAPI callback, pre_request_init
Closes: #1660 [ Commit message tweak - Andrew ] Signed-off-by: Andrew Clayton <[email protected]>
1 parent 630848a commit ad736f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/nxt_php_sapi.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,10 @@ static sapi_module_struct nxt_php_sapi_module =
340340

341341
NULL, /* ini_entries */
342342
NULL, /* additional_functions */
343-
NULL /* input_filter_init */
343+
NULL, /* input_filter_init */
344+
#if (PHP_VERSION_ID >= 80500)
345+
NULL, /* pre_request_init */
346+
#endif
344347
};
345348

346349

0 commit comments

Comments
 (0)