News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Greg Beaver's Blog:
problem with PHP_Archive-based phars tracked to odd unpack() bug
January 08, 2007 @ 11:02:00

Users of the PHP_Archive PEAR package should check out Greg Beaver's latest post for some information about the latest version of the package:

I just pushed out a release of PHP_Archive 0.9.1. This release fixes a bug that affects 64-bit users of PHP 5.2 and newer. Basically, the unpack() function does not behave in a predictable way when unpacking large integers. This is a known bug, and is documented at the manual page, although I was unaware of the issue until today.

He gives the example code that would cause the problem and a more correct version that would allow the package to work with all versions of PHP (previously, it would fail due to a bad return from pack). The latest version of the package can be grabbed from it PEAR page or via the "pear" command to grab it automatically.

0 comments voice your opinion now!
phparchive pear package bug pack release phar phparchive pear package bug pack release phar


blog comments powered by Disqus

Similar Posts

Asvin Balloo's Blog: 10 useful PHP PEAR packages

Stefan Esser's Blog: Month of PHP Bugs Kicks Off

Ilia Alshanetsky's Blog: PHP 5.2.0RC5 is out!

Travis Swicegood's Blog: PHPT_Ensure v0.1alpha and PHPT_Core v0.1.1alpha released

Sephiroth.it: Debugging PHP with XDebug


Community Events





Don't see your event here?
Let us know!


introduction laravel conference community symfony list security series opinion voicesoftheelephpant release podcast artisanfiles version framework tool interview composer library language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework