EPIC : Exakat PHP Index of Coding (August 2018)

Exakat PHP Index of coding Not using @ is the poster child of good practices. It’s also looked upon, as an impossible goal. Did you know that the @ operator is only merely used by 50% of PHP applications ? Same for parenthesis with include and co : don’t use them, like 50% of the […]

5 usages of static keyword in PHP

5 usages of static keyword in PHP Static is a PHP keyword with many usages. It is almost universally used, though there are many variations of it. Let’s review all the five of them : static method static property static closure static variable static as a classname Static method The most common usage of static […]

How many parameters is too many ?

How many parameters is too many? Now, that is a classic question, that is often a minefield for anyone writing an increasing long list of argument in a method, or simply trying to set up auditing tools. Obviously, the answer is not immediate. Parameters may be needed, but on the other hands, currying functions allows […]

Exakat 0.11.8 review

Exakat 0.11.8 review Exakat 0.11.8 has been published, as usual on Monday. This week, exakat received its very first PHP 7.2 specific analyzer : PHP 7.2 supports overwriting abstract methods. It goes with all the other PHP 7.2 analyzers that are ready. The Ambassador report now includes reports about framework usage, string encoding and a […]

Exakat 0.11.5 review

Exakat 0.11.5 is out, right after the excellent Darkmira Tour Brazil. Although it delayed the Monday publication, it also gave a list of good ideas and some time in the airport to work on it. So, this version is featuring a new report, called ‘Dependency wheel’, and four new analysis: Avoid typehinting with classes, Could […]

Where can you get an elephpant, the PHP elephant ?

Where can you get an elephpant ? The elephpant is the famous unofficial logo of the PHP community, turned into a snugly plush toy. They have been around the Internet since 2007, and may be met about everywhere. Elephpants have been sighted on every emerged continent in the world. But where can you get an elephpant ? There […]