While PHP is adding a First class callable syntax in 8.1, first-class-functions have been available in PHP since 5.3.0 (Released Jun 2009) going by the Wikipedia definition:
> This means the language supports passing functions as arguments to other functions, returning them as the values from other functions, and assigning them to variables or storing them in data structures.
captn3m0|4 years ago
> This means the language supports passing functions as arguments to other functions, returning them as the values from other functions, and assigning them to variables or storing them in data structures.
Ref: https://stackoverflow.com/a/59293198/368328, https://3v4l.org/rQGk2
deepstack|4 years ago
fraktl|4 years ago
[deleted]