summaryrefslogtreecommitdiff
path: root/ext/date/php_date.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-02-23 17:06:22 +0000
committerMarcus Boerger <helly@php.net>2008-02-23 17:06:22 +0000
commitd3e50265643fc59c2b5c99ef4ac79e758a6d9839 (patch)
treed8e4f0da41e03fd9e59892e12836ed81130a65fe /ext/date/php_date.c
parent6c5041979c9b0f9f05ac92427da53b60f6f6e7c3 (diff)
downloadphp-git-d3e50265643fc59c2b5c99ef4ac79e758a6d9839.tar.gz
- MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
Diffstat (limited to 'ext/date/php_date.c')
-rw-r--r--ext/date/php_date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 4637f35d2d..cc446e8e0a 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -1241,7 +1241,7 @@ PHPAPI void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
}
/* Support for the deprecated is_dst parameter */
if (dst != -1) {
- php_error_docref(NULL TSRMLS_CC, E_STRICT, "The is_dst parameter is deprecated");
+ php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "The is_dst parameter is deprecated");
if (gmt) {
/* GMT never uses DST */
if (dst == 1) {