Implementing callbacks in php with anonymous functions
What are callbacks Callback is a piece of code that is passed to some other functions as a parameter, such that it can be executed before or after a certain event or change of state. A common example of callbacks can be seen in javascript when using the jquery ajax function. $.ajax({ url: 'ajax/test.html', success:… Read More »