Hi internals, I created a bug report ( https://bugs.php.net/bug.php?id=72374 ) and PR( https://github.com/php/php-src/pull/1939 ) that will change the behavior of ZipArchive::addGlob method.
Currently, this method cuts the file path more than the length given by remove_path option and strips the first char of filename. This PR aims to make this method not cut too much file path. I would like to hear your feedbacks and if this change needs an RFC. Best regards, tyage