jimw Mon Dec 17 17:29:42 2001 EDT
Modified files:
/phpdoc/en/functions strings.xml
Log:
htmlentites,htmlspecialchars: document version third argument was added
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.142 phpdoc/en/functions/strings.xml:1.143
--- phpdoc/en/functions/strings.xml:1.142 Mon Dec 17 14:49:37 2001
+++ phpdoc/en/functions/strings.xml Mon Dec 17 17:29:42 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.142 $ -->
+<!-- $Revision: 1.143 $ -->
<reference id="ref.strings">
<title>String functions</title>
<titleabbrev>Strings</titleabbrev>
@@ -754,11 +754,6 @@
</informalexample>
The content of <literal>$original</literal> would be: "Hallo &
<Frau> & Krämer".
- <note>
- <para>
- This function was added in PHP 4.0.
- </para>
- </note>
</para>
<para>
See also: <function>htmlspecialchars</function>,
@@ -914,12 +909,13 @@
</para>
<para>
At present, the ISO-8859-1 character set is used as default.
- Note that the optional second argument was added in PHP 3.0.17
- and PHP 4.0.3.
+ Support for the optional second argument was added in PHP 3.0.17 and PHP
+ 4.0.3.
</para>
<para>
Like <function>htmlspecialchars</function>, it takes an optional
third argument which defines character set used in conversion.
+ Support for this argument was added in PHP 4.1.0.
</para>
<para>
See also <function>htmlspecialchars</function> and
@@ -1012,12 +1008,13 @@
<para>
Note that this function does not translate anything beyond what
is listed above. For full entity translation, see
- <function>htmlentities</function>. Also note that the optional
+ <function>htmlentities</function>. Support for the optional
second argument was added in PHP 3.0.17 and PHP 4.0.3.
</para>
<para>
The third argument defines character set used in conversion. The
- default character set is ISO-8859-1.
+ default character set is ISO-8859-1. Support for this third argument was
+ added in PHP 4.1.0.
</para>
<para>
See also <function>htmlentities</function> and