|
Posted by joshbeall on 01/24/06 17:56
I've had my own problems with the bug system as well. There's a bug
(never resolved AFAIK) with the WDDX serialization that causes
numerically indexed arrays that do not start at 0 being broken (you
can't access contents at numeric indexes) after deserialization.
The response I got after posting reproduce code was to grab the latest
version from CVS, just in case it happened to have been fixed in the
last week or so.
I don't have time to download another version of PHP for them, I was
reporting this bug because I wanted to help them out. Instead they
refused to address the bug because I wouldn't attempt my reproduce code
again with the CVS version (which they could have done by simply
copy/pasting my reproduce code themselves, and presumably they already
have the CVS version installed that they want to test it on)...
I love PHP as a language but the people that man the bug report system
seem to be a little less than courteous.
JFYI here's the reproduce code if you'd like to try it yourself:
$data = array(1=>"First value",2=>"Second Value",3=>"Third Value");
$wddxPacket = wddx_serialize_value($data);
$deserialized = wddx_deserialize($wddxPacket);
echo gettype($deserialized[1])." {$deserialized[1]}\n";
var_dump($deserialized);
// Note that $deserialized[1] turns out to be a NULL value
// When it should be "First value"
Navigation:
[Reply to this message]
|