From bc6a1e1cfc81189489ca096ef025a9312be68d32 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Sat, 1 Jul 2006 22:28:52 +0000 Subject: [PATCH] Moved note from date_default_timezone_set() to ¬e.timezone-errors; to use as per bug #37486 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@215667 c90b9560-bf6c-de11-be94-00142212c4b1 --- language-snippets.ent | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/language-snippets.ent b/language-snippets.ent index df7cf0cd8e..e55b18f4ea 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -72,6 +72,14 @@ such as the &link.superglobals;. etc. have been available. For more information, read the manual section on &link.superglobals;'> + +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 is not valid, and/or a E_STRICT message +if using the system settings or the TZ environment +variable. See also date_default_timezone_set +'> + This function internally uses the output buffering with this parameter so it can not be used inside ob_start callback function.'>