mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
0ebc0b5f06
commit
532ba2e885
1 changed files with 10 additions and 1 deletions
|
@ -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 ) . "<br>\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>
|
||||
|
|
Loading…
Reference in a new issue