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 […]
Configuring analysis in Exakat With the 15 mins install, you can get Exakat running in short time, and audit any PHP code without configuration. This is great to start with, and explore the features of the static analysis engine. Later, when you get to know the report and the important analysis for you, you want […]
Exakat 1.2.7 review Exakat 1.2.7 received an intensive bug cleaning treatment. Lots of false positives went away, and won’t be bother you for a long time. The documentation was revamped with a lot new sections and content. In the mean time, we added support for the PHP ext/cmark extension. ‘Use the Exakat 1.2.7 review, Luke’, […]
Exakat 1.2.6 review Exakat 1.2.6 got its review! This is all about the schizophrenic arrayunique() situation, since we have both ‘Avoid arrayunique()’ and ‘shoul use array_unique()’ in the same engine! Also, we added zookeeper. It’s the short Exakat 1.2.6 review. array_unique() situation Arrayunique() has been the target of an analysis until PHP 7.2, as it […]
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 […]