]> granicus.if.org Git - php/commit
Check variadic parameter for type and duplicate name
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 24 Aug 2020 08:15:57 +0000 (10:15 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 24 Aug 2020 08:15:57 +0000 (10:15 +0200)
commit9395e01e3d5b7e34e788c2f1c84252be9c80bf1f
tree1cdc7de047fc72911a78fdae52df8b6238917cee
parent2c2bb5098400bcd1dede34881766fb16665b3f7f
Check variadic parameter for type and duplicate name

Set HAS_TYPE_HINTS flag if the variadic parameter is types as well,
and make sure it has a distinct name. This was previously missed,
because the variadic parameter is not part of num_args.
Zend/zend_API.c