mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Moved note about when second parameter was added to [l|r]trim a 'bit' more to
the top. Maybe we should make it a habit to place it right under the prototype? That's where it belongs IMHO... git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57710 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
872743f839
commit
61117464cc
1 changed files with 16 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.110 $ -->
|
||||
<!-- $Revision: 1.111 $ -->
|
||||
<reference id="ref.strings">
|
||||
<title>String functions</title>
|
||||
<titleabbrev>Strings</titleabbrev>
|
||||
|
@ -1385,6 +1385,11 @@ echo "</PRE>\n";
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<note>
|
||||
<simpara>
|
||||
The second parameter was added in PHP 4.0.7
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
This function returns a string with whitespace stripped from the
|
||||
beginning of <parameter>str</parameter>.
|
||||
|
@ -1457,11 +1462,6 @@ $clean = ltrim($binary,"\0x00..\0x1F");
|
|||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
<note>
|
||||
<simpara>
|
||||
The second parameter was added in PHP 4.0.7
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
See also <function>trim</function> and <function>rtrim</function>.
|
||||
</para>
|
||||
|
@ -1766,6 +1766,11 @@ echo $second[1]; /* prints "another" */
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<note>
|
||||
<simpara>
|
||||
The second parameter was added in PHP 4.0.7
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
This function returns a string with whitespace stripped from the
|
||||
end of <parameter>str</parameter>.
|
||||
|
@ -1838,11 +1843,6 @@ $clean = rtrim($binary,"\0x00..\0x1F");
|
|||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
<note>
|
||||
<simpara>
|
||||
The second parameter was added in PHP 4.0.7
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
See also <function>trim</function> and <function>ltrim</function>.
|
||||
</para>
|
||||
|
@ -3649,6 +3649,11 @@ echo substr_replace($var, '', 10, -1) . "<br>\n";
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<note>
|
||||
<simpara>
|
||||
The second parameter was added in PHP 4.0.7
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
This function returns a string with whitespace stripped from the
|
||||
beginning and end of <parameter>str</parameter>.
|
||||
|
@ -3721,11 +3726,6 @@ $clean = trim($binary,"\0x00..\0x1F");
|
|||
</programlisting>
|
||||
</para>
|
||||
</example>
|
||||
<note>
|
||||
<simpara>
|
||||
The second parameter was added in PHP 4.0.7
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
See also <function>ltrim</function> and <function>rtrim</function>.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue