1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

php: add detection of PHP 8.0, fix compilation errors

This commit is contained in:
Sébastien Helleu
2020-12-13 11:52:29 +01:00
parent 61c3169068
commit 2b12b4077a
3 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ API_FUNC(register)
php_registered_script->name);
API_RETURN_ERROR;
}
if (zend_parse_parameters (ZEND_NUM_ARGS() TSRMLS_CC, "SSSSSzS",
if (zend_parse_parameters (ZEND_NUM_ARGS(), "SSSSSzS",
&name, &author, &version, &license, &description,
&shutdown_func, &charset) == FAILURE)
{