Le paramètre requis suit le paramètre facultatif (500 Erreur du serveur interne) PHP

The required parameter without a default value should come first (according to php 8.0)

Wrong Way:
function test_function(int $yyy = 2, int $xxx)
{
    return $xxx * $yyy;
}  

Right Way:
function test_function(int $xxx, int $yyy = 2)
{
    return $xxx * $yyy;
}
Unit Orion