diff options
author | Marcus Boerger <helly@php.net> | 2002-12-05 21:53:25 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-12-05 21:53:25 +0000 |
commit | 4ce4a1c32cc1c5156edcab52fb9aa81e236edcf0 (patch) | |
tree | 662e5f83e731261468b1ec9ee312fc3fbf9a3ac4 /ext/calendar | |
parent | 8ed84254cd943893e1deb99263e2cc46a9dcc9e3 (diff) | |
download | php-git-4ce4a1c32cc1c5156edcab52fb9aa81e236edcf0.tar.gz |
php_error -> php_error_docref
Diffstat (limited to 'ext/calendar')
-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 8105df9e5f..6600068106 100644 --- a/ext/calendar/easter.c +++ b/ext/calendar/easter.c @@ -48,7 +48,7 @@ static void _cal_easter(INTERNAL_FUNCTION_PARAMETERS, int gm) } if (gm && (year<1970 || year>2037)) { /* out of range for timestamps */ - php_error(E_WARNING, "%s(): This function is only valid for years between 1970 and 2037 inclusive", get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "This function is only valid for years between 1970 and 2037 inclusive"); RETURN_FALSE; } |