#25185 [Opn->Fbk]: Unserialize can't decode string from serialize

From: Date: Thu, 21 Aug 2003 12:59:28 +0000
Subject: #25185 [Opn->Fbk]: Unserialize can't decode string from serialize
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46415@lists.php.net to get a copy of this message
ID: 25185 Updated by: sniper@php.net Reported By: cpuidle at gmx dot de -Status: Open +Status: Feedback -Bug Type: *Programming Data Structures +Bug Type: *General Issues Operating System: WinXP PHP Version: 4.3.3RC4 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-08-21 05:14:42] cpuidle at gmx dot de 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 this bug report at http://bugs.php.net/?id=25185&edit=1

« previous php.bugs (#46415) next »