Moved note from date_default_timezone_set() to &note.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
This commit is contained in:
Philip Olson 2006-07-01 22:28:52 +00:00
parent 79ccd2aaca
commit bc6a1e1cfc

View file

@ -72,6 +72,14 @@ such as the &link.superglobals;.
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>'>