Viewing posts about Anonymous Function.

Playing with PHP Closures

In my previous post about anonymous functions I mentioned that PHP 5.3 brought in some sweet semantic improvements. Namely, the release introduced the __invoke method and Closure class. Everytime you create a new anonymous function you are actually creating an instance of Closure, and when you…

  • Category Web Development
  • Posted April 20, 2015
  • read more

Anonymous Functions in PHP

Anonymous functions have enjoyed a long history with PHP. Well, some version of anonymous functions. PHP 4, released in the long-ago of 2000, had several functions that required the passing in of callbacks, including usort, array_map, and array_walk. To use these you could pass in a callable by name…

  • Category Web Development
  • Posted April 17, 2015
  • read more

Activity Stream

  • Blogged about hiking | Rim Trail and Aztec Peak.
  • Blogged about hiking | Center Mountain to Pueblo Canyon Overlook.
  • Tweeted | RT @mikeveerman: Ah 2018. Scrum means "Waterfall but we don't have time for analysis". Kanban means "Scrum, but we don't have time for sp…
  • Tweeted | RT @jonoringer: Shutterstock and Magic Leap Partner to Transform the Future of Reality [shutterstock.com/blog/magic-lea…] via @shutterstock
  • Tweeted | While I was messing around with a rescue lowering system today my kids got curious and we spent an hour configuring… [twitter.com/i/web/status/1…]
View more activities…