PHP

Passing Data to PHP Anonymous Functions

PHP PHP version 5.3 introduced a new feature called anonymous functions, or lambda functions. You may have come across them in other languages such as C# or Ruby. They allow for greater flexibility and offer a...

Lambdas And Closures

PHP When building our applications in Laravel, we often make use of the routing system. The most basic example of this is by using the Route facade, and then appending a HTTP verb, the URI and some weird function...

PHP Slow Response Times

PHP When developing PHP applications locally, sometimes the performance is not as great as it could be, especially when working with frameworks such as Laravel or Symphony. One place to start looking to gain some...

Xdebug and var_dump

PHP If you are using Xdebug with PHP and are using the var_dump function it is important to note that Xdebug will limit var_dump's depth when dumping information about a variable. By default this limit is 3 and can...