philip Sat Jul 1 22:28:52 2006 UTC
Modified files: /phpdoc/en language-snippets.ent Log: Moved note from date_default_timezone_set() to ¬e.timezone-errors; to use as per bug #37486 http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.168&r2=1.169&diff_format=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.168 phpdoc/en/language-snippets.ent:1.169 --- phpdoc/en/language-snippets.ent:1.168 Tue Jun 6 15:09:03 2006 +++ phpdoc/en/language-snippets.ent Sat Jul 1 22:28:52 2006 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.168 $ --> +<!-- $Revision: 1.169 $ --> <!-- Keep 'em sorted --> @@ -72,6 +72,14 @@ etc. have been available. For more information, read the manual section on &link.superglobals;</para></note>'> +<!ENTITY note.timezone-errors '<note><para> +Since PHP 5.1.0 (when the date/time functions were rewritten), every call +to a date/time function will generate a <constant>E_NOTICE</constant> if +the timezone is not valid, and/or a <constant>E_STRICT</constant> message +if using the system settings or the <varname>TZ</varname> environment +variable. See also <function>date_default_timezone_set</function> +</para></note>'> + <!ENTITY note.uses-ob '<note><para>This function internally uses the output buffering with this parameter so it can not be used inside <function>ob_start</function> callback function.</para></note>'>