Unpacked, named and positional arguments are in a call…

mixed sorts of pumpkins

Unpacked, named and positional arguments are in a call… Argument spread is the three dots operator, when used with arguments. Its primary usage is simple : it stands in front of a variable, and turns an array into a list of arguments. Recently, while checking the PHP 8.1 migration guide, I realized that named arguments […]

The three nothings of PHP

The 3 nothings of PHP Mathematicians have the concept of infinity, which represents something that cannot be topped. Strangely enough, infinities come in different sizes : some infinities are larger than others. That sounds quite paradoxical, yet somewhat understandable. On the other hand, PHPians, if we can say that, have three kinds of nothing. The […]

Let’s make PHP more abstract

abstract

Let’s make PHP more abstract abstract is a conception keyword. It is decided during the conception phase that some classes and some methods uses the abstract keyword. Later, that keyword might disappear as needed, yet abstract never appears sponteanously. Nobody decides abstraction late in the coding phase. That seems to be a lack of practise […]

PHP native Attributes quick reference

PHP native attributes In PHP 8.0, PHP added attributes to its vast arsenal of features. Later, the first native attribute, aka, available in the core of PHP, appeared. Here they are, for quick reference. In PHP 8.2, there are 4 native attributes. Attribute ReturnTypeWillChange SensitiveParameter AllowDynamicProperties Attribute Attribute is the attribute to make a class […]

Exakat 2.4.6 Review

loops goes inside

Exakat 2.4.6 Review Exakat 2.4.6 finishes the movement to Gremlin 3.6. It now prepares PHP 8.2, with the upcoming feature freeze by the end of July. Preparation for Gremlin 3.6.0 With this version, Exakat has finished the move to Gremlin server 3.6.0. All drivers are now ready, and many rules have been ported to the […]