Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 13:54:45 GMT
From:      Mark <admin@asarian-host.net>
To:        <freebsd-questions@freebsd.org>
Cc:        ale@freebsd.org
Subject:   RE: PHP 4.3.10 bug?
Message-ID:  <200501191354.j0JDsjXM028602@asarian-host.net>
In-Reply-To: <20050119093311.M31213@wcborstel.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
 -----Original Message-----
> From: Jorn Argelo [mailto:jorn@wcborstel.nl] 
> Sent: woensdag 19 januari 2005 10:34
> To: Mark; freebsd-questions@freebsd.org
> Subject: Re: PHP 4.3.10 bug?
> 
> On Wed, 19 Jan 2005 02:21:10 GMT, Mark wrote
>
> > Dear people,
> > 
> > I recently saw PHP 4.3.10 bug:
> > 
> > http://bugs.php.net/bug.php?id=31332
> > 
> > That thread is closed, unfortunately. I would like to know,
> > though, how long execution of the mentioned reproduction
> > code is supposed to take? On my system, it took:
> > 0.44177293777466 seconds. Does that mean I am affected too?
> > 
> > I run FreeBSD 4.10R, with PHP 4.3.10.
> > 
> > Thanks,
> 
> Why don't you ask your question to the PHP folks?

Because I will need a FreeBSD port/patch. :)

I ran the test old an old Vmware box (PHP 4.3.9), and, indeed, I
have the bug; the query took:

0.0254358959198

seconds on my old PHP. :(

Since this unserialize bug makes PHP perform ~ 20x slower on unserialize,
I strongly urge the maintainer of PHP to either provide a port patch, or
a new port altogether. This really needs solving, fast!

- Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501191354.j0JDsjXM028602>