Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 8 lines (7 sloc) 0.221 kb
4a7eae2 Helgi Þormar Þorbjörnsson First version
authored
1 <?php
2 if (!Phar::canWrite()) {
3 die("Phar is in read-only mode, try php -d phar.readonly=0 stubs_4.php\n");
4 }
5
6 $phar = new Phar('project.phar');
7 $phar->setDefaultStub('cli.php', 'public/index.php');
8 echo $phar->getStub();
Something went wrong with that request. Please try again.