Prepare for PHP 7 error messages (part 3) This is the third party of our presentation of PHP error messages. In the first article, we covered the evolution of error messages in the PHP binary, and in the second, we reviewed eight new messages. We’ll finish with sever other messages and three that were dropped […]
Prepare for PHP 7 error messages In the article “Prepare for PHP 7 error messages (part 1)” from last week, we covered the evolution of error messages in the PHP binary. In order to prepare for prepare for PHP 7 error messages, we are now going to review the new messages that are appearing in […]
Prepare for PHP 7 error messages The first step to prepare for PHP 7 is to lint it : using the command line instruction ‘php -l script.php’, one can easily check that every file in a current application compile with PHP 7. The second step is to run the application and the unit tests : in […]
New PHP errors messages in PHP 8.3 The upcoming PHP 8.3 is bringing some new errors messages. They originate from new features, deprecated ones, and extra checks on the source code. Let’s review the new PHP error messages in PHP 8.3 and get our code ready for November 2023. Previous review New error messages in […]
Common PHP 8.0 Compilation Error Messages With PHP 8.0 closing on us, it is high time to check our code bases to see if they compile, at least. Here is a list of common PHP 8.0 error messages, and what do to with them. The errors have been found on a corpus of 1756 PHP […]
I scream, you scream, we all scream for @ @, no scream operator, is a classic PHP operator, meant to suppress error displays locally. It is a staple of PHP code, in use in over 65% of PHP repositories : 2 repositories out of 3. Yet, it is widely recommended avoiding using it. Indeed, are […]
Exakat 1.4.6 review Exakat 1.4.6 is mostly made up of bug fixes. A number of edges cases were discovered last week and eradicated : they provide greater stability to the engine. So we took more time to augment the documentation, providing real code case and related PHP error messages that Exakat helps avoid. Error messages […]
Version 2.4.7 2022-08-03 – Xu Jingzong Cobbler New cobbler : remove brackets to single-instruction commands Report New inventory : IP Analysis Refactored analysis : Could Use Array_sum() Refactored analysis : Wrong Attribute with properties Refactored analysis : implode Args order now support types Refactored analysis : fopen mode does accept rw Refactored analysis : references […]