From: Tjerk Meesters Date: Wed, 27 Aug 2014 02:28:16 +0000 (+0800) Subject: Merge PHP RFC: Closure::call X-Git-Tag: PRE_PHP7_REMOVALS~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18b1c4373d3e69f5c538e30e78c822540749d3e0;p=php Merge PHP RFC: Closure::call Commits: NEWS, UPGRADING Fixed Closure::apply() for int64 Just return, no need for RETURN_NULL() Revert "Fixed closure::bindTo bad args test" Accuracy Fixed issues spotted by code review Comment clarification Old comment, whitespace Don't allow unbound scoped closures; make ->call used passed object as scope Removed unused variable Fixed and cleaned up implementaton of Closure::call() for phpng Fixed closure::bindTo bad args test Fixed unbound scoped closure edge cases and added tests for them Rename ::apply to ::call for the sake of JS consistency Added test for unbound_scoped Added optional bool param $unbound_scoped to Closure::bind and ::bindTo Implemented Closure::apply --- 18b1c4373d3e69f5c538e30e78c822540749d3e0