$url = 'ftp://test888:[email protected]/a.xml';
$s = file_get_contents($url);
$xml = simplexml_load_string("<root>$s</root>");
print_r($xml);SimpleXMLElement Object
(
    [row] => Array
        (
            [0] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [dataType] => BR
                            [billNo] => 14111905203313
                            [playerName] => u8889995
                            [agentCode] => 253001001001001
                            [gameCode] => GA00314B1909V
                            [netAmount] => 19
                            [betTime] => 2014-11-19 05:40:12
                            [gameType] => BAC
                            [betAmount] => 20
                            [validBetAmount] => 19
                            [flag] => 1
                            [playType] => 1
                            [currency] => CNY
                            [tableCode] => C3
                            [loginIP] => 183.94.238.85
                            [recalcuTime] => 2014-11-19 05:40:40
                            [platformType] => AGIN
                            [re] => 
                            [round] => AGQ
                            [result] => 
                        )                )            [1] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [dataType] => BR
                            [billNo] => 14111905203313
                            [playerName] => u8889995
                            [agentCode] => 253001001001001
                            [gameCode] => GA00314B1909V
                            [netAmount] => 19
                            [betTime] => 2014-11-19 05:40:12
                            [gameType] => BAC
                            [betAmount] => 20
                            [validBetAmount] => 19
                            [flag] => 1
                            [playType] => 1
                            [currency] => CNY
                            [tableCode] => C3
                            [loginIP] => 183.94.238.85
                            [recalcuTime] => 2014-11-19 05:40:40
                            [platformType] => AGIN
                            [re] => 
                            [round] => AGQ
                            [result] => 
                        )                )            [2] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [dataType] => BR
                            [billNo] => 14111905203313
                            [playerName] => u8889995
                            [agentCode] => 253001001001001
                            [gameCode] => GA00314B1909V
                            [netAmount] => 19
                            [betTime] => 2014-11-19 05:40:12
                            [gameType] => BAC
                            [betAmount] => 20
                            [validBetAmount] => 19
                            [flag] => 1
                            [playType] => 1
                            [currency] => CNY
                            [tableCode] => C3
                            [loginIP] => 183.94.238.85
                            [recalcuTime] => 2014-11-19 05:40:40
                            [platformType] => AGIN
                            [re] => 
                            [round] => AGQ
                            [result] => 
                        )                )            [3] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [dataType] => BR
                            [billNo] => 14111905203313
                            [playerName] => u8889995
                            [agentCode] => 253001001001001
                            [gameCode] => GA00314B1909V
                            [netAmount] => 19
                            [betTime] => 2014-11-19 05:40:12
                            [gameType] => BAC
                            [betAmount] => 20
                            [validBetAmount] => 19
                            [flag] => 1
                            [playType] => 1
                            [currency] => CNY
                            [tableCode] => C3
                            [loginIP] => 183.94.238.85
                            [recalcuTime] => 2014-11-19 05:40:40
                            [platformType] => AGIN
                            [re] => 
                            [round] => AGQ
                            [result] => 
                        )                )            [4] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [dataType] => BR
                            [billNo] => 14111905203313
                            [playerName] => u8889995
                            [agentCode] => 253001001001001
                            [gameCode] => GA00314B1909V
                            [netAmount] => 19
                            [betTime] => 2014-11-19 05:40:12
                            [gameType] => BAC
                            [betAmount] => 20
                            [validBetAmount] => 19
                            [flag] => 1
                            [playType] => 1
                            [currency] => CNY
                            [tableCode] => C3
                            [loginIP] => 183.94.238.85
                            [recalcuTime] => 2014-11-19 05:40:40
                            [platformType] => AGIN
                            [re] => 
                            [round] => AGQ
                            [result] => 
                        )                )            [5] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [dataType] => BR
                            [billNo] => 14111905203313
                            [playerName] => u8889995
                            [agentCode] => 253001001001001
                            [gameCode] => GA00314B1909V
                            [netAmount] => 19
                            [betTime] => 2014-11-19 05:40:12
                            [gameType] => BAC
                            [betAmount] => 20
                            [validBetAmount] => 19
                            [flag] => 1
                            [playType] => 1
                            [currency] => CNY
                            [tableCode] => C3
                            [loginIP] => 183.94.238.85
                            [recalcuTime] => 2014-11-19 05:40:40
                            [platformType] => AGIN
                            [re] => 
                            [round] => AGQ
                            [result] => 
                        )                )            [6] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [dataType] => BR
                            [billNo] => 14111905203313
                            [playerName] => u8889995
                            [agentCode] => 253001001001001
                            [gameCode] => GA00314B1909V
                            [netAmount] => 19
                            [betTime] => 2014-11-19 05:40:12
                            [gameType] => BAC
                            [betAmount] => 20
                            [validBetAmount] => 19
                            [flag] => 1
                            [playType] => 1
                            [currency] => CNY
                            [tableCode] => C3
                            [loginIP] => 183.94.238.85
                            [recalcuTime] => 2014-11-19 05:40:40
                            [platformType] => AGIN
                            [re] => 
                            [round] => AGQ
                            [result] => 
                        )                )        ))