|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62181 wddx_serialize_value() returns wrong string
Submitted: 2012-05-29 11:05 UTC Modified: 2013-10-02 05:48 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: clemens at gutweiler dot net Assigned:
Status: No Feedback Package: WDDX related
PHP Version: 5.4.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: clemens at gutweiler dot net
New email:
PHP Version: OS:


 [2012-05-29 11:05 UTC] clemens at gutweiler dot net
wddx_serialize_value() returns wrong string, associative key elements are wrong 
interpreted in the output

the resulting string could not be interpreted by wddx_deserialize()

Test script:
PHP 5.3.8
string(118) "<wddxPacket version='1.0'><header/><data><struct><var name='foo'><number>1</number></var></struct></data></wddxPacket>"

PHP 5.4.3
string(117) "<wddxPacket version='1.0'><header/><data><struct><var name='foo'><number>1</number></var></array></data></wddxPacket>"

PHP 5.3.8
string(163) "<wddxPacket version='1.0'><header/><data><struct><var name='foo'><number>1</number></var><var name='bar'><string>barstr</string></var></struct></data></wddxPacket>"

PHP 5.4.3
string(140) "<wddxPacket version='1.0'><header/><data><struct><var name='foo'><number>1</number></var><string>barstr</string></array></data></wddxPacket>"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-30 15:00 UTC] sjon at hortensius dot net
I cannot reproduce this bug using a vanilla 5.4.3 version, could you check if 
disabling your extensions fixes this?
 [2013-10-02 05:48 UTC]
-Status: Open +Status: No Feedback
 [2013-10-02 05:48 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 19:03:42 2023 UTC