cvs: phpdoc /en/reference/datetime/functions date-default-timezone-set.xml
| From: | Hannes Magnusson | Date: | Sun, 26 Apr 2009 12:33:50 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime/functions date-default-timezone-set.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3881@lists.php.net to get a copy of this message | ||
bjori Sun Apr 26 12:33:50 2009 UTC
Modified files:
/phpdoc/en/reference/datetime/functions
date-default-timezone-set.xml
Log:
All datetime functions throw E_WARNING now
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml
diff -u phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.8
phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.9
--- phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.8 Sun Nov 2 22:11:33
2008
+++ phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml Sun Apr 26 12:33:50 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry xml:id="function.date-default-timezone-set" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>date_default_timezone_set</refname>
@@ -21,7 +21,7 @@
<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 isn't valid, and/or a <constant>E_STRICT</constant> message
+ the timezone isn't valid, and/or a <constant>E_WARNING</constant> message
if using the system settings or the <varname>TZ</varname> environment
variable.
</para>
@@ -98,6 +98,13 @@
</thead>
<tbody>
<row>
+ <entry>5.3.0</entry>
+ <entry>
+ Now throws <constant>E_WARNING</constant> rather then
+ <constant>E_STRICT</constant>.
+ </entry>
+ </row>
+ <row>
<entry>5.1.2</entry>
<entry>
The function started to validate the