Skip to content

Commit e335244

Browse files
committed
fix 80500
1 parent dce590c commit e335244

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

frankenphp.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <pthread_np.h>
2828
#endif
2929

30-
#if PHP_VERSION_ID >= 85000
30+
#if PHP_VERSION_ID >= 80500
3131
#include <sapi/cli/cli.h>
3232
#else
3333
#include "emulate_php_cli.h"
@@ -1031,8 +1031,10 @@ typedef struct {
10311031

10321032
static void *execute_script_cli(void *arg) {
10331033
cli_exec_args_t *args = (cli_exec_args_t *)arg;
1034+
volatile int v = PHP_VERSION_ID;
1035+
(void)v;
10341036

1035-
#if PHP_VERSION_ID >= 85000
1037+
#if PHP_VERSION_ID >= 80500
10361038
return (void *)(intptr_t)do_php_cli(args->argc, args->argv);
10371039
#else
10381040
return (void *)(intptr_t)emulate_script_cli(args);

0 commit comments

Comments
 (0)