diff options
Diffstat (limited to 'ext/calendar/easter.c')
-rw-r--r-- | ext/calendar/easter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/calendar/easter.c b/ext/calendar/easter.c index 98087d318c..7f26de0c00 100644 --- a/ext/calendar/easter.c +++ b/ext/calendar/easter.c @@ -49,7 +49,7 @@ static void _cal_easter(INTERNAL_FUNCTION_PARAMETERS, zend_long gm) } if (gm && (year<1970 || year>2037)) { /* out of range for timestamps */ - zend_value_error("This function is only valid for years between 1970 and 2037 inclusive"); + zend_argument_value_error(1, "must be between 1970 and 2037 (inclusive)"); RETURN_THROWS(); } |