Account created on 1 September 2020, about 4 years ago
#

Recent comments

Here is the update of the latest patch from #12 🐛 Does not work with more than 2 query parameters Fixed
Changes:
As this fragment
return $a_weight > $b_weight;
isn't equivalent to
return ($a_weight > $b_weight) ? -1 : 1;
for callback in uasort function, the correct variant has been added:
return ($a_weight > $b_weight) ? 1 : -1;

As It is implies that functionality of code will not be touched:
The changes 1. get_class() -> get_class($this) and 2. get_called_class() -> get_called_class(self::class) are both not equivalent (e.g. see Example2 from https://www.php.net/manual/en/function.get-class.php)
and the changes in the merge request are taken from proposal here https://wiki.php.net/rfc/deprecations_php_8_1

Production build 0.71.5 2024