#24063 [Opn->Asn]: Notice: unserialize(): Error at offset ... again
| From: | sniper@php.net | Date: | Thu, 26 Jun 2003 17:56:15 +0000 |
| Subject: | #24063 [Opn->Asn]: Notice: unserialize(): Error at offset ... again | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42569@lists.php.net to get a copy of this message | ||
ID: 24063
Updated by: sniper@php.net
Reported By: jparneodo at yahoo dot fr
-Status: Open
+Status: Assigned
Bug Type: Scripting Engine problem
Operating System: RH7.2
PHP Version: 4.3.3RC1
-Assigned To:
+Assigned To: helly
New Comment:
You broke this, iirc.
Previous Comments:
------------------------------------------------------------------------
[2003-06-20 09:28:26] jparneodo at yahoo dot fr
<?php
echo phpversion();
$f=1.0e-6;
$s=serialize($f);
$ff=unserialize($s);
echo "\n\n$s";
phpinfo()
?>
4.3.3RC1
d::.E-7;
phpinfo()
PHP Version => 4.3.3RC1
System => Linux paris.[skipped].com 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT
2001 i686
Build Date => Jun 20 2003 10:21:42
Configure Command => './configure' '--with-apxs=/home/apache/bin/apxs'
'--with-mysql=/usr/local/mysql' '--with-system-regex'
'--enable-track-vars' '--enable-memory-limits' '--with-xml'
'--with-imap=/usr/local' '--enable-sysvsem' '--enable-sysvshm'
'--enable-sockets' '--with-gd' '--enable-inline-optimization'
'--with-curl' '--with-zlib' '--with-bz2' '--with-gettext'
'--with-pcre'
'--enable-cli' '--disable-cgi' '--enable-pcntl'
'--enable-url-open'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/phpcgi/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.bzip2, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
------------------------------------------------------------------------
[2003-06-09 08:13:51] sniper@php.net
4.3.3-dev
d:1.E-6;
------------------------------------------------------------------------
[2003-06-09 05:34:52] jparneodo at yahoo dot fr
Sorry, you must read,
Serialise on 4.3.2 and 4.3.0 has not the same result on RH7.2:
4.3.0= d:1E-06;
4.3.2= d::.E-7;
------------------------------------------------------------------------
[2003-06-09 05:16:20] helly@php.net
Please correct the version error in your last message.
------------------------------------------------------------------------
[2003-06-09 03:50:30] jparneodo at yahoo dot fr
Serialise on 4.3.2 and 4.3.0 has not the same result:
4.3.2= d:1E-06;
4.3.0= d::.E-7;
<?php
echo phpversion();
$f=1.0e-6;
$s=serialize($f);
$ff=unserialize($s);
echo "\n\n$s";
?>
// Output with php-4.3.2/sapi/cli/php
4.3.2
Notice: unserialize(): Error at offset 0 of 8 bytes in - on line 5
d::.E-7;
// Output with php-4.3.0 apache 1.3.27 on RedHat
4.3.0
d:1E-06;
// Same result on RH9.0 with all php-4.3.2RCi
http://marc.theaimsgroup.com/?l=php-dev&m=105491350013813&w=2
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24063
--
Edit this bug report at http://bugs.php.net/?id=24063&edit=1