A

Admin • 832.27K Points
Coach

Q. Which is the correct syntax of defining a default argument value in PHP?

  • (A) function function_name(type $argument_name : value) { /* function body*/ }
  • (B) function function_name(type $argument_name , value) { /* function body*/ }
  • (C) function function_name(type $argument_name = value) { /* function body*/ }
  • (D) All of the above
  • Correct Answer - Option(C)
  • Views: 22
  • Filed under category PHP
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.