Sr. PHP Programmer Question:

Can you assign the default values to a function parameters?

Tweet Share WhatsApp

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 PDF Read All 202 Senior PHP Programmer Questions
Previous QuestionNext Question
What is associate array in PHP?What is the purpose of _METHOD_ constant?