Exakat 1.4.3 review Welcome back to a new edition of the Exakat 1.4.3 review. This Monday, we have a lot new analyzers : they deal with Classes that could be final, closure that could be simplified and inconsistent if/elseif situations. Also, the PHP directive report has been augmented with a full list of functions that […]
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 […]
As PHP evolves With the upcoming PHP 7.3, the question of the next migration is back on our tables. We’ll hear a strange mix of begging to move to the new versions for features and security, mixed with a constant threatening that some old versions will soon be unmaintained or worse. Indeed, there is versions […]
Exakat 1.3.5 review More stability and refinements for Exakat 1.3 series. Exakat closed several bugs and added refinements to analysis during last week. Undefined ::class are now reported, and useless assignations are now reported as issues. Array_key_fill() suggestions has been upgraded and preprocessing recommendations are extended to static concatenations. The Exakat 1.3.5 review packs quite […]
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 […]
Exakat 1.3.2 review Another week, another set of features for Exakat 1.3. This week we worked on the local idioms: the Ambassador audit now reports the fight between strict and relaxed comparison, along with > or < preference. Also, we sped up the processing a bit, by moving the internal structure. Finally, git will fail […]
Exakat 1.3.1 review Exakat 1.3.1 embarks on a new version of the underlying graph database : gremlin server 3.3.3. We’ve started using those new features, and that includes 4 new analysis and many false positive eliminations. Let’s cover the Exakat 1.3.1 review, like no one is watching. Always check JSON results Since null is a […]
The 100 PHP functions that you have to know There is a newer top PHP functions in 2022 here!. Here is the top 100 PHP functions : it is the list of the most often used PHP native functions. The functions are named, and ranked from 1 to 100. The other 4500 functions are not […]
Exakat 1.2.9 review Exakat 1.2.9 is out with a truck load of new analyzers. While we are preparing actively for IPC in Berlin and DPC in Amsterdam, we took time to add no less than 5 new analyzers : Flexible Heredoc Syntax for PHP 7.3, Use the blind var, Inexistent compact, Type hinted reference and […]
Weird operators in PHP If you read the PHP documentation, you will learn about a ton of operators. If you haven’t learnt about PHP operators, go do that first, we’ll wait for you. Operators are usually made up with strange symbols, like !, -, =>, <=>, ^ or ~. Really, some are plain readable like […]