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 