Closed Hywan closed 7 years ago
Function parameter, and arity are supported correctly. Need to support default value for parameter, and we will be able to finish anonymous function too.
To do:
https://github.com/php/php-langspec/blob/master/spec/13-functions.md#general
Each parameter name in a function-definition must be distinct.
Address #68. Fix #91.
Specification
https://github.com/php/php-langspec/blob/master/spec/10-expressions.md#anonymous-function-creation