Skip to content

Commit fe47233

Browse files
committed
upgrade apcu to support php 8.4
1 parent 713605a commit fe47233

2 files changed

Lines changed: 3 additions & 19 deletions

File tree

ext/readline/readline_cli.c

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -739,24 +739,8 @@ typedef cli_shell_callbacks_t *(__cdecl *get_cli_shell_callbacks)(void);
739739
} while(0)
740740

741741
#else
742-
/*
743-
#ifdef COMPILE_DL_READLINE
744-
This dlsym() is always used as even the CGI SAPI is linked against "CLI"-only
745-
extensions. If that is being changed dlsym() should only be used when building
746-
this extension sharedto offer compatibility.
747-
*/
748-
#define GET_SHELL_CB(cb) \
749-
do { \
750-
(cb) = NULL; \
751-
cli_shell_callbacks_t *(*get_callbacks)(void); \
752-
get_callbacks = dlsym(RTLD_DEFAULT, "php_cli_get_shell_callbacks"); \
753-
if (get_callbacks) { \
754-
(cb) = get_callbacks(); \
755-
} \
756-
} while(0)
757-
/*#else
758742
#define GET_SHELL_CB(cb) (cb) = php_cli_get_shell_callbacks()
759-
#endif*/
743+
760744
#endif
761745

762746
PHP_MINIT_FUNCTION(cli_readline)

sapi/src/builder/extension/apcu.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
$p->addExtension(
88
(new Extension('apcu'))
99
->withOptions('--enable-apcu')
10-
->withPeclVersion('5.1.22')
11-
->withFileHash('md5', '2e1fb1f09725ada616e873c4e4012ff6')
10+
->withPeclVersion('5.1.27')
11+
->withFileHash('md5', '2f8c0244d31aabfb9cf68695764398f0')
1212
->withHomePage('https://github.com/krakjoe/apcu.git')
1313
->withManual('https://www.php.net/apcu')
1414
->withLicense('https://github.com/krakjoe/apcu/blob/master/LICENSE', Extension::LICENSE_PHP)

0 commit comments

Comments
 (0)