Skip to content

Commit

Permalink
Wrong parameters found by Martin Buchholz @ six.de.
Browse files Browse the repository at this point in the history
  • Loading branch information
Egon Schmid committed Aug 4, 2000
1 parent 920f6fd commit 90b4600
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ext/ereg/ereg.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,15 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
regfree(&re);
}

/* {{{ proto int ereg(string pattern, string string [, array registers])
/* {{{ proto int ereg(string pattern, string replacement, string string)
Regular expression match */
PHP_FUNCTION(ereg)
{
php_ereg(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
}
/* }}} */

/* {{{ proto int eregi(string pattern, string string [, array registers])
/* {{{ proto int eregi(string pattern, string replacement, string string)
Case-insensitive regular expression match */
PHP_FUNCTION(eregi)
{
Expand Down
4 changes: 2 additions & 2 deletions ext/standard/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,15 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase)
regfree(&re);
}

/* {{{ proto int ereg(string pattern, string string [, array registers])
/* {{{ proto int ereg(string pattern, string replacement, string string)
Regular expression match */
PHP_FUNCTION(ereg)
{
php_ereg(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
}
/* }}} */

/* {{{ proto int eregi(string pattern, string string [, array registers])
/* {{{ proto int eregi(string pattern, string replacement, string string)
Case-insensitive regular expression match */
PHP_FUNCTION(eregi)
{
Expand Down

0 comments on commit 90b4600

Please sign in to comment.