Index: branches/Ver2.4/xpressme_integration_kit/include/xml.php
===================================================================
--- branches/Ver2.4/xpressme_integration_kit/include/xml.php	(revision 762)
+++ branches/Ver2.4/xpressme_integration_kit/include/xml.php	(revision 836)
@@ -16,5 +16,9 @@
 if( ! function_exists( 'xpress_XML_unserialize' ) ) : // d3pipe Used function
 function & xpress_XML_unserialize(&$xml){
-	$xml_parser = &new xpress_XML();
+	if ( version_compare(PHP_VERSION, '5.0.0', '>')) {
+		eval('$xml_parser = new xpress_XML();');
+	}else {
+		eval('$xml_parser = &new xpress_XML();');
+	}
 	$data = &$xml_parser->parse($xml);
 	$xml_parser->destruct();
