fixed earlier malformed sgml, added a couple of function descriptions.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@19920 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sterling Hughes 2000-02-19 02:06:35 +00:00
parent 0ebc0b5f06
commit 532ba2e885

View file

@ -1858,6 +1858,7 @@ echo str_repeat("-=", 10);
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);
print $str; # Prints mary had a little lamb and she loved it so
</programlisting></example>
<para>
See also <function>strtoupper</function>
and <function>ucfirst</function>.</para>
@ -1883,6 +1884,13 @@ echo str_repeat("-=", 10);
Note that 'alphabetic' is determined by the current locale. For
instance, in the default "C" locale characters such as umlaut-a
(ä) will not be converted.</para>
<example>
<title><function>strtoupper</function> example</title>
<programlisting>
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtoupper($str);
print $str; # Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
</programlisting></example>
<para>
See also <function>strtolower</function>
and <function>ucfirst</function>.</para>
@ -2165,7 +2173,8 @@ echo substr_replace( $var, '', 10, -1 ) . "&lt;br&gt;\n";
</funcsynopsis>
<para>
This function strips whitespace from the start and the end of a
string and returns the stripped string.</para>
string and returns the stripped string. The whitespace characters it currently
strips are: "\n", "\r", "\t", "\v", "\0", and " ".</para>
<para>
See also <function>chop</function> and
<function>ltrim</function>.</para>