문제

I'm trying to edit a phar file and I understand that it doesn't support incremental updates and that I have to extract the phar file, edit its contents and then compress it again to be able to use it.

I'm having trouble understanding how to extract phar files. A simple how-to would be much appreciated. I'm currently on windows.

도움이 되었습니까?

해결책

just open the Phar and do what you want

$phar = new Phar($filename);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top