PHP 4.0 Bug #7619: serialize() works not correct with cascaded objects in some circumstances
| From: | i088 at informatik dot fh-wuerzburg dot de | Date: | Fri, 03 Nov 2000 13:13:04 +0000 |
| Subject: | PHP 4.0 Bug #7619: serialize() works not correct with cascaded objects in some circumstances | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36948@lists.php.net to get a copy of this message | ||
From: i088@informatik.fh-wuerzburg.de
Operating system: Win9x / Linux
PHP version: 4.0.3pl1
PHP Bug Type: Unknown/Other Function
Bug description: serialize() works not correct with cascaded objects in some circumstances
serialize() works not correct with cascaded objects in some circumstances (on PHP 3.0.1x this
worked correct !!) :
You have an object whitch contains "normal" variables like integers, strings and also
other objects. These other objects also contains integers, strings etc. and again objects:
object 1 --- variable 11
|- variable 12
| :
|- variable 1x
|- object 2 --- variable 21
|- variable 22
| :
|- variable 2x
|- object 3 --- variable 31
| :
|- variable 3x
Under some circumstances the output that serialize() produces does only contain the top-level object
(object 1)with its "normal" variables (variable 11 ... variable 1x). The other objects
(object 2 and 3) with all there variables are lost.
--
Edit Bug report at: http://bugs.php.net/?id=7619&edit=1