0 votes
203 views
in PHP by (98.9k points)
edited
How to define a function in PHP?
a) functionName(parameters) {function body}
b) function {function body}
c) function functionName(parameters) {function body}
d) data type functionName(parameters) {function body}

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
c) function functionName(parameters) {function body}

Related questions

0 votes
1 answer 175 views
asked Oct 9, 2022 in PHP by MrRam (2.0k points)
0 votes
1 answer 116 views
asked Oct 9, 2022 in PHP by MrRam (2.0k points)
0 votes
1 answer 1.2k views
0 votes
1 answer 156 views
0 votes
1 answer 115 views
asked Apr 9, 2022 in PHP by Doubtly (98.9k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

537 users

...