PHP_FUNCTION(rdp_simplify){ *zval* *points_array; *double* epsilon; *ZEND_PARSE_PARAMETERS_START*(2, 2) Z_PARAM_*ARRAY*(points_array) *Z_PARAM_*DOUBLE(epsilon) ZEND_PARSE_PARAMETERS_END();