1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

php: Adjust API for PHP 8.2

This commit is contained in:
Adam Saponara
2022-06-28 23:36:05 -04:00
committed by Sébastien Helleu
parent 1fb82b4062
commit 3e1a5b4447
+4
View File
@@ -1237,7 +1237,11 @@ weechat_php_signal_script_action_cb (const void *pointer, void *data,
int
php_weechat_startup (sapi_module_struct *sapi_module)
{
#if PHP_VERSION_ID >= 80200
return php_module_startup (sapi_module, &weechat_module_entry);
#else
return php_module_startup (sapi_module, &weechat_module_entry, 1);
#endif
}
size_t