Skip to content

Commit

Permalink
Merge pull request #2391 from gdamjan/arginfo
Browse files Browse the repository at this point in the history
fix: missing arginfo when compiling against PHP 8
  • Loading branch information
xrmx committed Dec 29, 2021
2 parents 1bb48fb + 9076683 commit 3c23cc3
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions plugins/php/php_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,21 +497,24 @@ PHP_FUNCTION(uwsgi_signal) {
RETURN_NULL();
}

ZEND_BEGIN_ARG_INFO_EX(arginfo_void, 0, 0, 0)
ZEND_END_ARG_INFO()

zend_function_entry uwsgi_php_functions[] = {
PHP_FE(uwsgi_version, NULL)
PHP_FE(uwsgi_setprocname, NULL)
PHP_FE(uwsgi_worker_id, NULL)
PHP_FE(uwsgi_masterpid, NULL)
PHP_FE(uwsgi_signal, NULL)

PHP_FE(uwsgi_rpc, NULL)

PHP_FE(uwsgi_cache_get, NULL)
PHP_FE(uwsgi_cache_set, NULL)
PHP_FE(uwsgi_cache_update, NULL)
PHP_FE(uwsgi_cache_del, NULL)
PHP_FE(uwsgi_cache_clear, NULL)
PHP_FE(uwsgi_cache_exists, NULL)
PHP_FE(uwsgi_version, arginfo_void)
PHP_FE(uwsgi_setprocname, arginfo_void)
PHP_FE(uwsgi_worker_id, arginfo_void)
PHP_FE(uwsgi_masterpid, arginfo_void)
PHP_FE(uwsgi_signal, arginfo_void)

PHP_FE(uwsgi_rpc, arginfo_void)

PHP_FE(uwsgi_cache_get, arginfo_void)
PHP_FE(uwsgi_cache_set, arginfo_void)
PHP_FE(uwsgi_cache_update, arginfo_void)
PHP_FE(uwsgi_cache_del, arginfo_void)
PHP_FE(uwsgi_cache_clear, arginfo_void)
PHP_FE(uwsgi_cache_exists, arginfo_void)
{ NULL, NULL, NULL},
};

Expand Down

0 comments on commit 3c23cc3

Please sign in to comment.