How do I find out the number of parameters passed into function?

Answer Posted / som

func_num_args() function returns the number of parameters
passed in.

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between base_url and site_url?

491


Write a program using while loop in php?

561


What is difference between md5 and SHA256?

531


What is whitespace in html?

521


What is the use of the function 'imagetypes()'?

539






How to randomly retrieve a value from an array?

544


What are php variables?

509


Define urlencode() and urldecode() used in php?

574


Tell me how can we define a variable accessible in functions of a php script?

520


What is the method to execute a php script from the command line?

546


How do you use bcrypt for hashing passwords in php?

524


What is difference between array_merge and array_combine in php?

500


What is constructors and destructors?

530


What's the best method for sanitizing user input with php?

483


What is csrf token in php?

544