What Can Implement An Interface In PHP? Ask a PHP developer what implements an interface, and you will get class Foo implements Bar. Ask again, insist a little, and you might get abstract class. Ask a third time and people start looking at their shoes. Yet the implements keyword, and its cousin, extends, has a […]
When PHP Meet Unicode: A Tour of Identifiers Beyond ASCII Every year, like clockwork, someone rediscovers that a day is not reliably 86400 seconds long, gets righteously indignant about daylight change on Hacker News, and two hundred comments later the whole internet has relearned a lesson it relearns every March and October. PHP’s “you can […]
All the ways to call a method in PHP There are many ways to call a method in PHP. Method calling is a very common task, and, although the most common syntax is the overwhelming majority, there are some niche syntaxes for specific usages. And some good old syntaxes too. Since they are scattered across […]
Smooth migration from array to object I still need a smooth migration from array to object. There are a good number of arrays that are acting like objects in my source code. I have read (here, here) and written about the advantages of replacing arrays with objects in PHP. They are significant: better performance, less […]
All the Dynamic Syntax in PHP With PHP, dynamic calls happens when the call gets at least one of its expression’s elements (and sometimes, even all of them) at execution time. They are not known at coding time, so there are usually some variables involved in the matter. Here is a review of how to […]
Exakat 0.11.2 review Exakat 0.11.2 is out. It is a stability release: exakat was run on 800 projects during the week, to weed out some rare situations and keep all the analysis running on any kind of code. This is how we decided to add a new analysis: empty regex. Also this week, the ‘difference […]






