You have to create a line calling zend_get_parameters_ex() for every possible number of arguments, which is often unsatisfying.
If your function is meant to accept a variable number of arguments, the snippets just described are sometimes suboptimal solutions. You have to create a line calling zend_get_parameters_ex() for every possible number of arguments, which is often unsatisfying.