Code Duplication    Length = 5-5 lines in 2 locations

lib/xmlrpc.inc 2 locations

@@ 114-118 (lines=5) @@
111
	$GLOBALS['xml_iso88591_Entities']=array();
112
	$GLOBALS['xml_iso88591_Entities']['in'] = array();
113
	$GLOBALS['xml_iso88591_Entities']['out'] = array();
114
	for ($i = 0; $i < 32; $i++)
115
	{
116
		$GLOBALS['xml_iso88591_Entities']['in'][] = chr($i);
117
		$GLOBALS['xml_iso88591_Entities']['out'][] = '&#'.$i.';';
118
	}
119
	for ($i = 160; $i < 256; $i++)
120
	{
121
		$GLOBALS['xml_iso88591_Entities']['in'][] = chr($i);
@@ 119-123 (lines=5) @@
116
		$GLOBALS['xml_iso88591_Entities']['in'][] = chr($i);
117
		$GLOBALS['xml_iso88591_Entities']['out'][] = '&#'.$i.';';
118
	}
119
	for ($i = 160; $i < 256; $i++)
120
	{
121
		$GLOBALS['xml_iso88591_Entities']['in'][] = chr($i);
122
		$GLOBALS['xml_iso88591_Entities']['out'][] = '&#'.$i.';';
123
	}
124
125
	/// @todo add to iso table the characters from cp_1252 range, i.e. 128 to 159?
126
	/// These will NOT be present in true ISO-8859-1, but will save the unwary