From:             cpuidle at gmx dot de
Operating system: WinXP
PHP version:      4.3.3RC4
PHP Bug Type:     *Programming Data Structures
Bug description:  Unserialize can't decode string from serialize

Description:
------------
I'm using serialize to write array structures to the filesystem. After
reading the structure again, unserialize fails to decode and returns 0
instead. Serialized sample data is included. The problem is fixed when the
two larger data blocks are removed and replaced with samething without
linebreaks- not sure if that's part of the problem.

Reproduce code:
---------------
http://www.cpuidle.de/serialized.txt



-- 
Edit bug report at http://bugs.php.net/?id=25185&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25185&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25185&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25185&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25185&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25185&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25185&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25185&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25185&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25185&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25185&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25185&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25185&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25185&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25185&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25185&r=gnused

Reply via email to