What are the best practices for handling variable parameter lists in PHP functions?

When dealing with variable parameter lists in PHP functions, it is best practice to use the `func_get_args()` function to retrieve all passed arguments as an array. This allows for flexibility in the number of parameters passed to the function and simplifies the handling of variable parameter lists.

function exampleFunction() {
    $args = func_get_args();
    
    foreach($args as $arg) {
        echo $arg . "<br>";
    }
}

exampleFunction("Hello", "World", "!");