Answer the question
In order to leave comments, you need to log in
Why is phar not being created?
Set write permissions phar.readonly = 0 in php.ini. Php 5.3.3 Registered Stream Filters zlib.*, bzip2.*
Creation, code:
$hello = "Hello!";
$phar = new Phar('test.phar');
$phar[hello.txt] = "$hello";
Answer the question
In order to leave comments, you need to log in
What are the constants? Where?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question