php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34751 wddx_serialize_value broken in php5-200510051430
Submitted: 2005-10-06 10:25 UTC Modified: 2005-10-06 11:00 UTC
From: sitnikov at infonet dot ee Assigned:
Status: Closed Package: WDDX related
PHP Version: 5CVS-2005-10-06 (snap) OS: Linux, Suse 9.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sitnikov at infonet dot ee
New email:
PHP Version: OS:

 

 [2005-10-06 10:25 UTC] 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>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-06 11:00 UTC] sitnikov at infonet dot ee
fixed in (CVS) by rrichards 1.119.2.4
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 09 23:01:30 2024 UTC