PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » Services_ExchangeRates » Bug #6087

XML_Tree Error with Services_ExchangeRates

Details

Submitted2005-11-27 15:12 UTC
Fromnohn at php dot net
Assignedcross
StatusClosed
PackageServices_ExchangeRates
PHP Version5.1.0
OSWin32
Roadmaps(Not assigned)

Comments

[2005-11-27 15:12 UTC] nohn at php dot net

Description:
------------
A XML_Tree error occurs when instantiating a Services_ExchangeRates Object.

Test script:
---------------
<?php
require_once 'Services/ExchangeRates.php';

$ExchangeRate = new Services_ExchangeRates('ECB', 'UN', 'UN', array('cacheDirectory' => '/tmp/', 'cacheLengthRates' => 3600, 'cacheLengthCurrencies' => 3600, 'cacheLengthCountries' => 1600));
?>

Actual result:
--------------
Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in c:\wamp\php\PEAR\XML\Tree.php on line 297
PHP Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in c:\wamp\php\PEAR\XML\Tree.php on line 297