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

  • Pushed some code at jacobemerick/web.
  • Pushed some code at jacobemerick/web.
  • Read A World of Secrets (The Firewall Trilogy, #2) by James Maxwell.
  • Blogged about personal | Social Contracts Under Stress.
  • Tweeted | RT @polina_giralt: My pomodoro technique: 1. Pick a task from the infinite to-do list 2. Focus really hard on it until a slack message show…
View more activities…