Home » Web Services » Services_ExchangeRates » Bug #6087
XML_Tree Error with Services_ExchangeRates
Details
| Submitted | 2005-11-27 15:12 UTC |
|---|---|
| From | nohn at php dot net |
| Assigned | cross |
| Status | Closed |
| Package | Services_ExchangeRates |
| PHP Version | 5.1.0 |
| OS | Win32 |
| 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