#34751 [NEW]: wddx_serialize_value broken in php5-200510051430
| From: | sitnikov at infonet dot ee | Date: | Thu, 06 Oct 2005 08:25:45 +0000 |
| Subject: | #34751 [NEW]: wddx_serialize_value broken in php5-200510051430 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-86079@lists.php.net to get a copy of this message | ||
From: sitnikov at infonet dot ee
Operating system: Linux, Suse 9.2
PHP version: 5CVS-2005-10-06 (snap)
PHP Bug Type: WDDX related
Bug description: wddx_serialize_value broken in php5-200510051430
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 bug report at http://bugs.php.net/?id=34751&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34751&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34751&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34751&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34751&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34751&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34751&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34751&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34751&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34751&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34751&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34751&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34751&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34751&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34751&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34751&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34751&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34751&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34751&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34751&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34751&r=mysqlcfg