按特定顺序运行PHP函数

I have defined 4 different functions that I need to execute in order

function stepOne(){
// Do stuff
}

function stepTwo(){
// Do stuff
}

function stepThree(){
// Do stuff
}

function stepFour(){
// Do stuff
}

What's the best practice for this? Thanks!

function stepOne(){
  stepTwo();
  // Do stuff
}

function stepTwo(){
  stepThree();

  // Do stuff
}

function stepThree(){
  stepFour();

  // Do stuff
}

function stepFour(){
// Do stuff
}

Once all the declarations are done. You can just call the stepOne() which inturn will continue the chain.

stepOne(); // which will call stepTwo.