14 PHP arguments that are not enough used

14 PHP arguments that are not enough used PHP has a few thousands functions under its belt, and there are even more arguments. And just like for functions, some of those arguments are not often used, while they provide a useful extension to the original behavior of the function. The posterboy of the unknown arguments […]

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