didou Thu Jan 15 07:43:28 2004 EDT
Modified files:
/phpdoc/en/reference/strings/functions html-entity-decode.xml
Log:
CS : Function declarations follow the 'one true brace' convention
Index: phpdoc/en/reference/strings/functions/html-entity-decode.xml
diff -u phpdoc/en/reference/strings/functions/html-entity-decode.xml:1.6
phpdoc/en/reference/strings/functions/html-entity-decode.xml:1.7
--- phpdoc/en/reference/strings/functions/html-entity-decode.xml:1.6 Sat Dec 20
20:05:43 2003
+++ phpdoc/en/reference/strings/functions/html-entity-decode.xml Thu Jan 15
07:43:28 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.html-entity-decode">
<refnamediv>
@@ -76,7 +76,8 @@
// For users prior to PHP 4.3.0 you may do this:
-function unhtmlentities($string) {
+function unhtmlentities($string)
+{
$trans_tbl = get_html_translation_table(HTML_ENTITIES);
$trans_tbl = array_flip($trans_tbl);
return strtr($string, $trans_tbl);