summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2019-11-08 09:58:05 -0500
committerNikita Popov <nikita.ppv@gmail.com>2019-11-08 16:29:10 +0100
commit70b4bc963c559aba8d036a47804c8b21ca41a668 (patch)
tree2885885347769ae15c0b0f09a15e9adf7066f710 /scripts
parent1cb69c44d716cfea98a9566c80dd21a58732bbf8 (diff)
downloadphp-git-70b4bc963c559aba8d036a47804c8b21ca41a668.tar.gz
Fix compile error using zend_parse_parameters_throw()
Fixes a bug introduced in 4008704f62 The trailing comma is followed by `)` when the varargs list is empty in the macro, which is a syntax error in C This fixes compilation of code such as the following PHP_FUNCTION(get_metadata) { if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "") == FAILURE) { return; } Closes GH-4896.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions