1. Introduction In this article I will explain some methods to solve this problem: how to get the first (or last) element of an array without removing it. 2. Explanation If we execute these two PHP functions: array_pop, a function that get the last element of an array and remove it array_shift, a function that…
Introduction In this article I will explain how to install Assetic (not available in the standard edition since 2.8 version) in Symfony 3. For learn purposes I will explain how to do it in a single case scenario: compile less files and generate css. Installation Steps 1. Install Assetic As I have said before, since…
PHP 7 was released on December 3rd, 2015 and has a lot of new features. I am going to explain the most important ones and, at the end of the article, you can find a list of links with the complete and official updated features. PHP 7 New Features New Operators PHP 7 comes with…
Laravel 5.2 ya está aquí y trae muchas novedades. Aquí os pongo un resumen de las novedades más destacadas que sin duda nos ayudarán a mejorar este excelente framework: Novedades de Laravel 5.2 Agrupar los Middleware Para el que aún no sepa lo que es un Middleware, es un filtro para la petición, de tal…
Showing all 4 posts