All datetime functions throw E_WARNING now

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279395 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2009-04-26 12:33:50 +00:00
parent 9d96c2f768
commit 874990cb85

View file

@ -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>
@ -97,6 +97,13 @@ if (strcmp($script_tz, ini_get('date.timezone'))){
</row>
</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>