What is a lambda function in PHP?

A lambda function (also known as anonymous function) is a function that has:

  1. No Name
  2. Can be assigned to a variable
  3. Can be passed as argument to other functions or methods of a class

22-August 9:38 PM 590 Views

 Prev question

Next question