Notes: Removed unneeded ones, modifed a few others. We don't need a note

to declare when a function came into existence.
chunk_split: See also explode, split and wordwrap


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66637 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2002-01-01 22:56:13 +00:00
parent e99ade41c4
commit 2036db95b3

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.146 $ -->
<!-- $Revision: 1.147 $ -->
<reference id="ref.strings">
<title>String functions</title>
<titleabbrev>Strings</titleabbrev>
@ -89,10 +89,6 @@ echo addcslashes("zoo['.']", 'z..A');
]]>
</programlisting>
</informalexample>
<note>
<simpara>
Added in PHP 4</simpara>
</note>
</para>
<para>
See also <function>stripcslashes</function>,
@ -257,14 +253,11 @@ $new_string = chunk_split(base64_encode($data));
]]>
</programlisting>
</example>
This function is significantly faster than
<function>ereg_replace</function>.
<note>
<para>
This function was added in 3.0.6.
</para>
</note>
</para>
<simpara>
See also <function>explode</function>, <function>split</function>
and <function>word_wrap</function>.
</simpara>
</refsect1>
</refentry>
@ -384,11 +377,6 @@ $new_string = chunk_split(base64_encode($data));
</listitem>
</itemizedlist>
</para>
<note>
<para>
This function was added in PHP 4.0.
</para>
</note>
</refsect1>
</refentry>
@ -1422,11 +1410,6 @@ echo "</PRE>\n";
<para>
The constant CHAR_MAX is also defined for the use mentioned above.
</para>
<note>
<para>
Added in PHP 4.0.5
</para>
</note>
<para>
See also: <function>setlocale</function>.
</para>
@ -2616,11 +2599,6 @@ if (!strcasecmp($var1, $var2)) {
Note that this comparison is case sensitive, and unlike
<function>strcmp</function> this function is not binary safe.
</simpara>
<note>
<simpara>
Added in PHP 4.0.5.
</simpara>
</note>
<simpara>
See also <function>ereg</function>, <function>strcmp</function>,
<function>strcasecmp</function>, <function>substr</function>,
@ -2732,11 +2710,6 @@ $string = strip_tags($string, '<a><b><i><u>');
Returns a string with backslashes stripped off. Recognizes
C-like <literal>\n</literal>, <literal>\r</literal> ..., octal
and hexadecimal representation.
<note>
<simpara>
Added in PHP4b3-dev.
</simpara>
</note>
</para>
<simpara>
See also <function>addcslashes</function>.
@ -3210,11 +3183,6 @@ echo str_repeat("-=", 10);
<para>
This will output "-=-=-=-=-=-=-=-=-=-=".
</para>
<note>
<para>
This function was added in PHP 4.0.
</para>
</note>
</refsect1>
</refentry>
@ -3702,7 +3670,8 @@ echo strtr("hi all, I said hello", $trans) . "\n";
</para>
<note>
<simpara>
This feature (two arguments) was added in PHP 4.0.
This optional <parameter>to</parameter> and
<parameter>from</parameter> parameters were added in PHP 4.0.0
</simpara>
</note>
<para>
@ -3910,11 +3879,6 @@ echo substr_replace($var, '', 10, -1) . "<br>\n";
See also <function>str_replace</function> and
<function>substr</function>.
</para>
<note>
<simpara>
<function>substr_replace</function> was added in PHP 4.0.
</simpara>
</note>
</refsect1>
</refentry>
@ -3943,7 +3907,8 @@ echo substr_replace($var, '', 10, -1) . "<br>\n";
</funcsynopsis>
<note>
<simpara>
The second parameter was added in PHP 4.1.0
The optional <parameter>charlist</parameter> parameter was
added in PHP 4.1.0
</simpara>
</note>
<para>
@ -4222,7 +4187,7 @@ $bar = ucwords(strtolower($bar)); // Hello World!
(See second example).
<note>
<para>
The <parameter>cut</parameter> parameter was added in PHP 4.0.3.
The optional <parameter>cut</parameter> parameter was added in PHP 4.0.3
</para>
</note>
</para>