]> granicus.if.org Git - php/commit
Remove special handling of zero-arg funcs in func_info
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 27 May 2019 15:16:56 +0000 (17:16 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 27 May 2019 15:16:56 +0000 (17:16 +0200)
commita1284b4241ddfe30ee31058c2d44acf03df7aafc
tree4296c1742fd75d987b2eed3aa2c5de9b3c3de5b7
parent45c663a9d3fef93f1c8107f08622d36a54be5807
Remove special handling of zero-arg funcs in func_info

In PHP 8 we always throw on zpp failure, so we can always return the
type for the valid argument case only. We'll want to also adjust the
return type listings based on that (and drop MAY_BE_NULL/MAY_BE_FALSE
where possible).
ext/opcache/Optimizer/zend_func_info.c