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

This question does not have any additional details.

1 answer

func_num_args() function returns the number of parameters/arguments passed to a function in PHP