Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?



Under what circumstance is it impossible to assign a default value to a parameter while declaring a ..

Answer / Harish Agarwal

It's not possible to assign a default value to a parameter if the function already has been called with an argument for that specific parameter.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Is server side a session?

1 Answers  


How to create a text file in PHP?

1 Answers  


Which is the best method to fetch the data from mysql? 1.mysql_fetch_array() 2.mysql_fetch_object() 3.mysql_fetch_row() 4.mysql_fetch_assoc()

6 Answers  


Which php framework is best for web development?

1 Answers  


What are Sub routines?

1 Answers  


How to convert a timezone from one to another ?

1 Answers  


How does firefox manage cookies?

1 Answers  


What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?

1 Answers  


What is printf in php?

1 Answers  


How many Types of COmments are there in PHP and what are they?

4 Answers  


What is the use of friend function?

7 Answers   Wipro,


How to run a php script?

1 Answers  


Categories