From 874990cb85096310cfe9a8eafe21d47882bdeae1 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sun, 26 Apr 2009 12:33:50 +0000 Subject: [PATCH] All datetime functions throw E_WARNING now git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279395 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../datetime/functions/date-default-timezone-set.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/reference/datetime/functions/date-default-timezone-set.xml b/reference/datetime/functions/date-default-timezone-set.xml index ad8ba50254..5edb488e0b 100755 --- a/reference/datetime/functions/date-default-timezone-set.xml +++ b/reference/datetime/functions/date-default-timezone-set.xml @@ -1,5 +1,5 @@ - + date_default_timezone_set @@ -21,7 +21,7 @@ Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if - the timezone isn't valid, and/or a E_STRICT message + the timezone isn't valid, and/or a E_WARNING message if using the system settings or the TZ environment variable. @@ -97,6 +97,13 @@ if (strcmp($script_tz, ini_get('date.timezone'))){ + + 5.3.0 + + Now throws E_WARNING rather then + E_STRICT. + + 5.1.2