PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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