![]() ![]() | ![]() |
1.1 ! misho 1: <?php ! 2: $p = new Phar(__FILE__); ! 3: var_dump($p["test.txt"]->isCompressed()); ! 4: $p2 = new Phar(__FILE__); ! 5: $p->compressFiles(Phar::GZ); ! 6: var_dump($p["test.txt"]->isCompressed()); ! 7: echo "ok\n"; ! 8: __HALT_COMPILER(); ?> ! 9: 6 &