summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/date/php_date.c2
-rw-r--r--ext/date/tests/gmmktime_basic.phpt2
-rw-r--r--ext/date/tests/mktime_error.phpt2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 2f52353ce2..52ce4b7ce8 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -1541,7 +1541,7 @@ PHPAPI void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
now->h = hou;
break;
default:
- php_error_docref(NULL, E_STRICT, "You should be using the time() function instead");
+ php_error_docref(NULL, E_DEPRECATED, "You should be using the time() function instead");
}
/* Update the timestamp */
if (gmt) {
diff --git a/ext/date/tests/gmmktime_basic.phpt b/ext/date/tests/gmmktime_basic.phpt
index 81abb5f2b2..58777ef771 100644
--- a/ext/date/tests/gmmktime_basic.phpt
+++ b/ext/date/tests/gmmktime_basic.phpt
@@ -30,6 +30,6 @@ var_dump( gmmktime() );
*** Testing gmmktime() : basic functionality ***
int(1218182888)
-Strict Standards: gmmktime(): You should be using the time() function instead in %s on line %d
+Deprecated: gmmktime(): You should be using the time() function instead in %s on line %d
int(%d)
===DONE===
diff --git a/ext/date/tests/mktime_error.phpt b/ext/date/tests/mktime_error.phpt
index eb1cc6e19a..9e3e872cb5 100644
--- a/ext/date/tests/mktime_error.phpt
+++ b/ext/date/tests/mktime_error.phpt
@@ -34,7 +34,7 @@ var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
-- Testing mktime() function with Zero arguments --
-Strict Standards: mktime(): You should be using the time() function instead in %s on line %d
+Deprecated: mktime(): You should be using the time() function instead in %s on line %d
int(%d)
-- Testing mktime() function with more than expected no. of arguments --