diff options
Diffstat (limited to 'ext/standard/reg.c')
-rw-r--r-- | ext/standard/reg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/standard/reg.c b/ext/standard/reg.c index 7116dad68a..63344b8878 100644 --- a/ext/standard/reg.c +++ b/ext/standard/reg.c @@ -194,10 +194,6 @@ static void php_ereg(INTERNAL_FUNCTION_PARAMETERS, int icase) if (zend_get_parameters_ex(3, ®ex, &findin, &array) == FAILURE) { WRONG_PARAM_COUNT; } - if (!ParameterPassedByReference(ht, 3)) { - php_error(E_WARNING, "Array to be filled with values must be passed by reference."); - RETURN_FALSE; - } break; default: WRONG_PARAM_COUNT; |