Sr. PHP Programmer Question:
Download Questions PDF

Can you assign the default values to a function parameters?

Answer:

Yes! You can set a parameter to have a default value if the function's caller doesn't pass it.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is associate array in PHP?What is the purpose of _METHOD_ constant?