Re: PHP 4.0 Bug #9240: unserialize fails non-determenistic on large objects
| From: | Thies C. Arntzen | Date: | Tue, 13 Feb 2001 15:44:51 +0000 |
| Subject: | Re: PHP 4.0 Bug #9240: unserialize fails non-determenistic on large objects | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-46484@lists.php.net to get a copy of this message | ||
On Tue, Feb 13, 2001 at 03:38:17PM -0000, brian@kusala.com wrote:
> From: brian@kusala.com
> Operating system: RedHat 6.2
> PHP version: 4.0.4pl1
> PHP Bug Type: Variables related
> Bug description: unserialize fails non-determenistic on large objects
>
> I'm unserializing a large object using the following test script:
>
> for ($i = 0; $i < 20; $i++)
> {
> echo "$i\n";
> $ObjectToCreate = array();
> if (!$fp = fopen('test.ser', 'r'))
> return false;
> $ObjectToCreate = unserialize(fread ($fp, filesize ('test.ser')));
> fclose($fp);
> }
>
>
> I can supply the 'test.ser' file on request but for obvious reasons do not wish to
> include it in this error report!
please send it off-list to me.
thx,
tc