What is the correct way to create a function in PHP?

  1. create myFunction()

  2. function myFunction()

  3. new_function myFunction()

  4. calling_funtion myFunction()


Correct Option: B

Find more quizzes: