Home » PHP » PHP Functions » Question
  1. Which one of the following is the right way of defining a function in PHP?
    1. function fuuctionName(parameters) { function body }
    2. functionName(parameters) { function body }
    3. data type functionName(parameters) { function body }
    4. function { function body }
    5. None of these
Correct Option: A

function fuuctionName(parameters) { function body }



Your comments will be displayed only after manual approval.