gmmktime uses mktime (bug #22635 again)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165558 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-08-06 20:05:23 +00:00
parent d5c3972e13
commit 01db480ca7

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
<refentry id="function.gmmktime">
<refnamediv>
@ -27,6 +27,24 @@
from right to left, with any omitted arguments being set to the
current corresponding GMT value.
</para>
<para>
<note>
<simpara>
<function>gmmktime</function> internaly uses <function>mktime</function>
so only times valid in derived local time can be used.
</simpara>
</note>
<example>
<title><function>gmmktime</function> on Windows boundary</title>
<programlisting role="php">
<![CDATA[
<?php
gmmktime(0, 0, 0, 1, 1, 1970); // valid in GMT and west, invalid in east
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
</refentry>