ID:               40576
 Updated by:       [EMAIL PROTECTED]
 Reported By:      giunta dot gaetano at sea-aeroportimilano dot it
-Status:           Assigned
+Status:           Closed
 Bug Type:         XMLRPC-EPI related
 Operating System: win2k sp4
 PHP Version:      5.2.1
 Assigned To:      tony2001
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2007-02-21 11:46:29] giunta dot gaetano at sea-aeroportimilano dot it

Description:
------------
As per the subject.

Please note I am fully aware it is the fault of the underlying EPI lib,
plus the xmlrpc spec does not mandate a strict number of digits as
min/max.

BUT
- the epi lib is dead for all purposes but php. Hacking it might be
advisable
- 6 digits is a very, very low figure...

Thanks
Gaetano


Reproduce code:
---------------
<?php
echo htmlspecialchars(xmlrpc_encode(1.123456789));
?>

Expected result:
----------------
<?xml version="1.0" encoding="utf-8"?> <params> <param> <value>
<double>1.123457</double> </value> </param> </params>

Actual result:
--------------
<?xml version="1.0" encoding="utf-8"?> <params> <param> <value>
<double>1.123456789</double> </value> </param> </params>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40576&edit=1

Reply via email to