Is LZF extension is broken in PHP?

52 views Asked by At

I have PHP v7.4.33 with LZF v1.7.0 extension on Windows 10 64-bit:

php-7.4.33-ts-vc15-x64
php_lzf-1.7.0-7.4-ts-vc15-x64

The function lzf-decompress works for me, and I able to decompress LZF-archive without any problem.

But I can't compress any data using lzf-compress:

echo base64_encode(lzf_compress('abc123'));

This function always fails... PHP crashes, and I constantly get the error - "Connection was reset!"

What am I doing wrong?

0

There are 0 answers