Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHP Closures - Lightning Talk

PHP Closures - Lightning Talk

Lightning talk about Closures given on September 12th, 2013, to the Seattle PHP User Group.

Jeremy Lindblom

September 12, 2013
Tweet

More Decks by Jeremy Lindblom

Other Decks in Programming

Transcript

  1. They are also called lambdas, or lambda functions.! ! This

    is a reference to a branch of mathematics called lambda calculus.! Let's not even go there.!
  2. Named functions have names so they can be referenced and

    reused.! ! Anonymous functions don't need to be reused. They're great for callbacks...!