bsdiff

The bsdiff extension for PHP


A PHP extension to build and apply patches to binary files.

License: PHP License

Latest releases

Version Release Download
0.2.0 2026-05-05 bsdiff-0.2.0.tgz
0.1.2 2022-10-12 bsdiff-0.1.2.tgz
0.1.1 2022-10-07 bsdiff-0.1.1.tgz
Show all releases

Changelog

Version Message
0.2.0 - Use emalloc/efree for internal allocations so bsdiff respects memory_limit and is visible to PHP's memory tracking.
- Replace POSIX file I/O with PHP streams and consolidate cleanup.
- Explicit binary-mode flag ("wb"/"rb") for diff files, fixing potential corruption on Windows.
- Improve BZip2 auto-detection in config.m4.
- Add PHP 8.3, 8.4, and 8.5 to CI matrix.
0.1.2 - Add PECL configuration option "with-bz2".
- Include version numbers in phpinfo.
0.1.1 First public release
Show complete changelog