Minor corrections.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@22226 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Egon Schmid 2000-03-31 13:57:38 +00:00
parent 95efd40ad1
commit 754d3d1889

View file

@ -756,7 +756,8 @@ print (strftime ("%A.\n"));
<refnamediv>
<refname>strtotime</refname>
<refpurpose>
Parse about any english textual datetime description into a UNIX timestamp
Parse about any english textual datetime description into a UNIX
timestamp
</refpurpose>
</refnamediv>
<refsect1>
@ -764,16 +765,18 @@ print (strftime ("%A.\n"));
<funcsynopsis>
<funcdef>int <function>strtotime</function></funcdef>
<paramdef>string <parameter>time</parameter></paramdef>
<paramdef>int <parameter><optional>now</optional></parameter></paramdef>
<paramdef>int
<parameter><optional>now</optional></parameter>
</paramdef>
</funcsynopsis>
<para>
The function exspects to be given a string containing an
english date format and will try to parse that format into
a UNIX timestamp.
The function expects to be given a string containing an english
date format and will try to parse that format into a UNIX
timestamp.
<example>
<title><function>strtotime</function> example</title>
<title><function>Strtotime</function> example</title>
<programlisting role="php">
echo strtotime("10 march 2000")."\n";
echo strtotime ("10 march 2000") . "\n";
</programlisting>
</example>
</para>