#34751 [Opn->Csd]: wddx_serialize_value broken in php5-200510051430
| From: | sitnikov at infonet dot ee | Date: | Thu, 06 Oct 2005 09:00:40 +0000 |
| Subject: | #34751 [Opn->Csd]: wddx_serialize_value broken in php5-200510051430 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86082@lists.php.net to get a copy of this message | ||
ID: 34751
User updated by: sitnikov at infonet dot ee
Reported By: sitnikov at infonet dot ee
-Status: Open
+Status: Closed
Bug Type: WDDX related
Operating System: Linux, Suse 9.2
PHP Version: 5CVS-2005-10-06 (snap)
New Comment:
fixed in (CVS) by rrichards 1.119.2.4
Previous Comments:
------------------------------------------------------------------------
[2005-10-06 10:25:45] sitnikov at infonet dot ee
Description:
------------
wddx_serialize_value broken in php5-200510051430
Reproduce code:
---------------
<?php
$arr = array (
'house_list' => array (
0 => array (
'id' => '2910',
'name' => '2',
),
));
echo wddx_serialize_value($arr)."\n";
?>
Expected result:
----------------
work/php-5.1.0RC1.OCI8/sapi/cli/php -f wddx.php
[11:17]
<wddxPacket version='1.0'><header/><data><struct><var
name='house_list'><array length='1'><struct><var
name='id'><string>2910</string></var><var
name='name'><string>2</string></var></struct></array></var></struct></data></wddxPacket>
[si@dbs] /home/sitnikov>work/php5-200510051430/sapi/cli/php -f wddx.php
[11:17]
<wddxPacket version='1.0'><header/><data><struct><var
name=<array
length='1'><struct><v<string>2910</string></var><var<string>2</string></var></struct></array></var></struct></data></wddxPacket>
Actual result:
--------------
work/php5-200510051430/sapi/cli/php -f wddx.php
[11:17]
<wddxPacket version='1.0'><header/><data><struct><var
name=<array
length='1'><struct><v<string>2910</string></var><var<string>2</string></var></struct></array></var></struct></data></wddxPacket>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34751&edit=1