From: antonr at game dot permonline dot ru
Operating system: Win32
PHP version: 5CVS-2004-05-09 (dev)
PHP Bug Type: WDDX related
Bug description: wddx_serialize_value returns empty string
Description:
------------
In some cases wddx_serialize_value returns empty string.
Reproduce code:
---------------
<?php
class MyClass1
{ public $myclass2;
}
class MyClass2
{ public $myclass1;
}
$a = new MyClass1;
$a->number = 1;
$a->myclass2 = new MyClass2;
$a->myclass2->myclass1 = $a;
echo wddx_serialize_value($a);
?>
Actual result:
--------------
empty string
--
Edit bug report at http://bugs.php.net/?id=28335&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28335&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28335&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28335&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28335&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28335&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28335&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28335&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28335&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28335&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28335&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28335&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28335&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28335&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28335&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28335&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28335&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28335&r=float