ID: 14819
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Strings related
Operating System: Linux
PHP Version: 4.0.5
New Comment:

user error: bogus


Previous Comments:
------------------------------------------------------------------------

[2002-01-09 16:45:07] [EMAIL PROTECTED]

I'm truly sorry.  I found that the error was in the database library I
was using to take the serialized string and save it in a database,
although I'm not clear on why changing the order of operations fixed it
(but that's not your job to fix!).  Please cancel/close this faulty bug
report and chastise me thoroughly.

------------------------------------------------------------------------

[2002-01-05 08:05:18] [EMAIL PROTECTED]

Cannot reporoduce this:

$mystring="don't";
$myarray[ 0 ] = "s1";
$myarray[ 1 ] = "s2";
$myarray[ 2 ] = str_replace( "'", "", $mystring );
$myserial = serialize( $myarray );
print $myserial."\n";

prints correctly:

a:3:{i:0;s:2:"s1";i:1;s:2:"s2";i:2;s:4:"dont";}

in PHP 4.0.5, PHP 4.1.1, adn PHP 4.2.0-dev.

Does this example work for you? If it does
could you please provide a complete example
that produces incorrect output.


------------------------------------------------------------------------

[2002-01-04 20:55:32] [EMAIL PROTECTED]

Here are my configuration options:

'./configure' '--prefix=/usr/local'
'--with-apache=/usr/local/src/Apachetoolbox-1.5.19/apache_1.3.19'
'--enable-exif' '--enable-memory-limit=yes' '--enable-track-vars'
'--with-calendar=shared' '--enable-safe-mode' '--enable-magic-quotes'
'--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-mysql'
'--with-mysql=/usr/local/mysql' '--with-openssl'


------------------------------------------------------------------------

[2002-01-03 03:56:56] [EMAIL PROTECTED]

Status -> feedback

------------------------------------------------------------------------

[2002-01-03 01:28:09] [EMAIL PROTECTED]

Just tested it with 4.0.6 and 4.1.0
All seems to be ok.

Can you send me your configuration options?



------------------------------------------------------------------------

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/?id=14819


Edit this bug report at http://bugs.php.net/?id=14819&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to