php-rar
php-rar copied to clipboard
PECL rar extension
PHP Warning: RarArchive::__toString() implemented without string return type in Unknown on line 0 PHP Warning: RarEntry::__toString() implemented without string return type in Unknown on line 0
Will there be one?
Without, test suite fails with ``` TEST 2/115 [tests/002.phpt] ========DIFF======== 001+ Warning: RarArchive::__toString() implemented without string return type in Unknown on line 0 002+ 003+ Warning: RarEntry::__toString() implemented without string...
I encountered two problems in the project. One is that calling the RarArchive:: open method will return false while the compressed package path contains Chinese. The other is that the...
make error
exec command: `sudo pecl install rar` php verson: ```bash $ php -v PHP 8.1.0 (cli) (built: Nov 25 2021 20:22:41) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.0, Copyright...
While there is already some support for Unicode file paths, apparently the archive name itself may only be given as ANSI. To support Unicode, the `ArcNameW` of the `RAROpenArchiveDataEx` struct...
For LLP64, a `long` is 32bit, what causes 041.phpt to fail on 64bit Windows. However, as of PHP 7.0.0, integers are stored as `zend_long` by the engine, so we can...
While there is already an AppVeyor CI, the problem with that is that usually only one job runs in parallel, but we want to be able to run the builds...
Without that, phpize builds fail because there is rar.c and rar.cpp, and both are compiled to rar.obj in the same folder. This appears to be an upstream bug[1], but even...
On Ubuntu 24.04 whose default PHP is 8.3, I have tried and this package can't work. Even AI like ChatGPT or DeepSeek can't help with that. Now where can I...