cvs: phpdoc /en/reference/strings/functions htmlentities.xml
| From: | Andrew Lindeman | Date: | Sat, 27 Apr 2002 22:00:41 +0000 |
| Subject: | cvs: phpdoc /en/reference/strings/functions htmlentities.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969344953@lists.php.net to get a copy of this message | ||
alindeman Sat Apr 27 18:00:41 2002 EDT
Modified files:
/phpdoc/en/reference/strings/functions htmlentities.xml
Log:
array_flib -> array_flip
Index: phpdoc/en/reference/strings/functions/htmlentities.xml
diff -u phpdoc/en/reference/strings/functions/htmlentities.xml:1.4
phpdoc/en/reference/strings/functions/htmlentities.xml:1.5
--- phpdoc/en/reference/strings/functions/htmlentities.xml:1.4 Sat Apr 27 17:59:36 2002
+++ phpdoc/en/reference/strings/functions/htmlentities.xml Sat Apr 27 18:00:40 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.htmlentities">
<refnamediv>
@@ -51,7 +51,7 @@
function unhtmlentities ($string)
{
$trans_tbl = get_html_translation_table (HTML_ENTITIES);
- $trans_tbl = array_flib ($trans_tbl);
+ $trans_tbl = array_flip ($trans_tbl);
return strtr ($string, $trans_tbl);
}
?>