Parsing Parameters
13/30
Convenience Macros
Real Parameter Parsing
In its simplest form you can call
ZEND_NUM_ARGS()
to check the number of parameters passed to your function.
You can use the
WRONG_PARAM_COUNT
macro to output a generic wrong parameter count warning.