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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user