PHP Property Resolution Order: Class · Trait · Parent · Interface

PHP Property Resolution Order: Class · Trait · Parent · Interface

PHP Property Resolution Order: Class · Trait · Parent · Interface PHP offers the same four places to define a property that it offers for constants: directly in a class, in a trait the class uses, in a parent class it extends, and, as of PHP 8.4, in an interface it implements. Since these different […]

New PHP error messages in PHP 8.3

WIndow onto PHP 8.2

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 […]

Changelog (up to 2.0)

Note : the more recent changelog is here. Version 2.0.0 2019-10-21 – Civil Star of Mystery and Darkness Architecture Manual file/line fixes More simplifcations in load step Report Ambassador : fixed performance display Ambassador : report list of shell commands Typehint4all : first report Perfile : fixed sorting Analysis New analysis : Report possible typehint […]

I scream, you scream, we all scream for @ no scream operator

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 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 […]

Exakat Changelog

Version 2.6.8 2024-05-02 – Fang Xuanling + Updated analysis : Undefined Enum Case now handles class constant relays Report Ambassador : upgraded manual rendering Analysis Version 2.6.7 2024-03-21 – Zhang Gongjin + New analysis : new rule for Deprecated attribute (analysis) Analysis Version 2.6.6 2024-03-14 – Gao Shilian + New analysis : report usage of […]