From 08e408b7507c73e23a708180066c8435beae3066 Mon Sep 17 00:00:00 2001 From: Vincent Gevers Date: Sun, 28 Sep 2003 16:18:14 +0000 Subject: [PATCH] Fixing example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@141210 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/xml/reference.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/xml/reference.xml b/reference/xml/reference.xml index f918513526..318550062a 100644 --- a/reference/xml/reference.xml +++ b/reference/xml/reference.xml @@ -1,5 +1,5 @@ - + XML parser functions XML @@ -341,14 +341,14 @@ $map_array = array( function startElement($parser, $name, $attrs) { global $map_array; - if ($htmltag = $map_array[$name]) { + if ($htmltag == $map_array[$name]) { print "<$htmltag>"; } } function endElement($parser, $name) { global $map_array; - if ($htmltag = $map_array[$name]) { + if ($htmltag == $map_array[$name]) { print ""; } }