AMA University Answers
Login
Register
AMA OED
Courses
IT
IT-6314
Which one of the following is...
Which one of the following is the right way of defining a function in PHP?
functionfumctionName(parameters) { function body }
Correct
Feedbacks
JustMastodon
-
2 years ago
Upvoted this question
Similar IT-6314 questions
What is the output of the following? echo substr("abcdef", -2), ', '; echo substr("abcdef", 4), ', '...
What is the function of the ucfirst and lcfirst functions?
What will the following script output?
What functions count elements in an array?
What is the output of the following? echo strcmp('first', 'second'), ", "; echo strcmp('44', '054'),...
What is the output of the following code snippet? $str = 'asdfghyo off on off'; $replacepairs = arra...