What is the best practice for passing parameters from one function to another within the same function in PHP?

When passing parameters from one function to another within the same function in PHP, the best practice is to simply call the second function with the necessary parameters directly within the first function. This ensures that the parameters are passed correctly and efficiently without the need for additional complexity.

function firstFunction($param1, $param2) {
    // Do some processing
    secondFunction($param1, $param2);
}

function secondFunction($param1, $param2) {
    // Handle the parameters passed from the first function
}