char *arg_pattern = NULL, *arg_options = NULL;
size_t arg_pattern_len, arg_options_len;
int err;
- size_t n, i, pos, len, beg, end;
+ size_t n, i, pos, len;
+ /* Stored as int* in the OnigRegion struct */
+ int beg, end;
OnigOptionType option;
OnigUChar *str;
OnigSyntaxType *syntax;
Get matched substring of the last time */
PHP_FUNCTION(mb_ereg_search_getregs)
{
- size_t n, i, len, beg, end;
+ size_t n, i, len;
+ /* Stored as int* in the OnigRegion struct */
+ int beg, end;
OnigUChar *str;
if (zend_parse_parameters_none() == FAILURE) {