PHPNews

Benford’s law in frameworks

In a new talk I’m currently presenting at conferences and meetups, I talk – amongst other things – about Benford’s law. This law states that in natural occurring numbers, the first digit of those numbers will most often start with a 1 (around 30% of the time), and logarithmically drops down to the number 9, which …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Wednesday December 9, 2015


Incrementing values in PHP

Incrementing values in PHP Take a variable, increment it with 1. That sounds like a simple enough job right? Well.. from a PHP developer point of view that might seem the case, but is it really? There are bound to be some catches to it (otherwise we wouldn’t write a blogpost about it). So, there are a few different …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Tuesday October 13, 2015


Understanding Symfony2 Forms

To actually use Symfony2 forms, all you need to do is read some documentation, a few blog posts and you’ll be up and running in a couple of minutes. Understanding Symfony2 forms however, is a whole different ballgame. In order to understand a seemingly simple process of “adding fields to a form”, we must understand …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Friday September 11, 2015


The PHP Elephant stampede

Do you have a toy PHP elephant? A blue one, or an exotic other color, maybe even a jumbo version? Maybe even more than one? Good, put it or them down on the floor, step away from it for a about 5 meters or so, and look back. You bought this with your hard owned money. You’ve earned it. It’s yours. But think about …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Wednesday June 3, 2015


The PHP Elephant stampede

Do you have a toy PHP elephant? A blue one, or an exotic other color, maybe even a jumbo version? Maybe even more than one? Good, put it or them down on the floor, step away from it for a about 5 meters or so, and look back. You bought this with your hard owned money. You’ve earned it. It’s yours. But think about …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Wednesday June 3, 2015


The secret success of PHPNL

Jelrik and I wanted to share something (I forgot what it was) during the PHPBenelux conference. Probably too lazy to send it through email (tarring, getting it into the email client, sending.. blergh.. tired already) and most likely because the dislike of Skype, we turned to Slack, where both of us were already in …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Friday April 17, 2015


The secret success of PHPNL

Jelrik and I wanted to share something (I forgot what it was) during the PHPBenelux conference. Probably too lazy to send it through email (tarring, getting it into the email client, sending.. blergh.. tired already) and most likely because the dislike of Skype, we turned to Slack, where both of us were already in …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Friday April 17, 2015


Advanced user switching

A really neat trick in the Symfony Security component is the fact that you can impersonate or “switch” users. This allows you to login as another user, without supplying their password. Suppose a client of your application has a problem at a certain page which you want to investigate. Sometimes this is not possible …

Continue reading »

Written by Joshua Thijssen - - Aggregated on Tuesday February 24, 2015