]> granicus.if.org Git - php/commit
Separate Closure::bind() implementations
authorMáté Kocsis <kocsismate@woohoolabs.com>
Sat, 19 Sep 2020 17:04:35 +0000 (19:04 +0200)
committerMáté Kocsis <kocsismate@woohoolabs.com>
Sat, 19 Sep 2020 18:14:22 +0000 (20:14 +0200)
commitb15885b522ba813d29cfd24bd6f5334ce141c19b
tree080c1bec934db4adc431df6dc04f2ec0d1c0fbd2
parentf088aec6cb6b1e2566dac968d46615864d2a0f93
Separate Closure::bind() implementations

Closure::bind() and Closure::bindTo() are currently reported as aliases in stubs because they have a single implementation. They are not aliases in fact though, they just use zend_parse_method_parameters() cleverly.

Thus, let's separate their implementation so that we don't have to alias Closure::bindTo() anymore. This will also have the advantage that the two ZPP implementations become more clear.

Closes GH-6169
Zend/zend_closures.c
Zend/zend_closures.stub.php
Zend/zend_closures_arginfo.h