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