PDFF : PHP Document File Format details In the first episode, we have presented the origin of the PDFF: how it emerges to be a convenient format to describe PHP component, with a good level of details, some versioning and a dual-readability human/machine. In this second episode, we’ll introduce the format and the content of […]
Weekly report for the week from 20-06-2022 to 03-07-2022 These are the focus rules for this week : Unthrown Exception : List of exceptions that are defined in the code but never thrown. Undefined static:: Or self:: : The identified property or method are undefined. Use Constant : Some functioncalls have a constant equivalent, that […]
New PHP errors messages in PHP 8.2 The upcoming PHP 8.2 is bringing some new errors messages, either from new features, or from extra checks on the source code. Let’s review their numbers, and some of the extra checking that will help us. Evolution of error message counts With distinct 751 error messages, PHP 8.2 […]
Exakat 2.4.4 Review Exakat 2.4.4 brings a host of improvements, at the engine level, and with new analysis. Preparation for Gremlin 3.6.0 With this version, Exakat has started the move to Gremlin server 3.6.0. This is an important move, as Gremlin tighten the bolts of the language. In the long run, it will help choose […]
Final, abstract and other cousins Counting classes in an application How many classes are there in a PHP application? A simple count based on the class keyword gives a quick answer. Modern PHP application range from a dozen of units to a dozen of thousands. Yet, each class keyword doesn’t produce a concrete class. Inheritance […]
Weekly report for the week from 20-06-2022 to 26-06-2022 These are the focus rules for this week : Unthrown Exception : List of exceptions that are defined in the code but never thrown. Undefined static:: Or self:: : The identified property or method are undefined. Use Constant : Some functioncalls have a constant equivalent, that […]
The 100 PHP classes that you have to know Here is the top 100 PHP classes : it is the list of the most often used PHP native classes. The classes are ranked in order of project frequency. In a corpus of 2500 OSS projects, the classes (and a few interfaces) were detected. They may […]
What does PHP mean ? So, PHP is an acronym, and its meaning has changed in time. There are more than expected usage of this name in various fields : this leads to funny situations where the word PHP has varying meaning. We collected them here. Official name PHP: Hypertext Preprocessor (Recursive acronym) Personal Home […]
Weekly report for the week from 13-06-2022 to 19-06-2022 These are the focus rules for this week : Unthrown Exception Undefined static:: Or self:: Use Constant Reuse Existing Variable Empty Classes Weekly reports are a list of 5 reviews, shared across the community of Exakat users. They represent a reasonable amount of […]
Late, later and latest PHP checks PHP applies various checks when processing source code. When those checks fail, they might generate a Fatal errorand stop execution. They are the bane of production servers, and every PHP developper tries to avoid them as much as possible (unlike static code analyser authors which try to generate them). […]