PHP updates DOM API
Briefly

The new BcMath\Number object in PHP 8.4.1 allows for object-oriented usage with arbitrary precision numbers, enabling immutability and compatibility with string contexts.
PHP 8.4.1 introduces independent controls for property read and write scopes, streamlining access management and reducing boilerplate getter method requirements.
With the latest property hooks in PHP 8.4.1, developers can create computed properties that are recognized by IDEs, enhancing static analysis and reducing code discrepancies.
Lazy objects in PHP 8.4.1 defer initialization until necessary, optimizing performance by creating objects only when their state is accessed or modified.
Read at InfoWorld
[
|
]