Just-In-Time (JIT) Compilation in PHP 8.0

Just-In-Time (JIT) Compilation in PHP 8.0

Just-in-time (JIT) compilation is a process that takes compilation of the code at run time. JIT compilation allows improving performance of interpreted programming languages. Since PHP 8.0, we can use...
Using Attributes in PHP 8.0

Using Attributes in PHP 8.0

PHP allows specifying doc comments on declarations in code, which can be retrieved using the Reflection API. However, doc comments are just strings that provide unstructured metadata information. There are...
Constructor Property Promotion in PHP 8.0

Constructor Property Promotion in PHP 8.0

Properties are class member variables that store values like strings, integers, boolean, etc. We can set properties via class constructor, setter method or directly if property is public. When we...