note 98866 deleted from phar.construct by danbrown
| From: | danbrown@php.net | Date: | Tue, 13 Jul 2010 16:04:03 +0000 |
| Subject: | note 98866 deleted from phar.construct by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-170881@lists.php.net to get a copy of this message | ||
Note Submitter: myselfasunder at protectme dot gmail dot com
----
Phar can ONLY open executable Phar's and PharData can ONLY open non-executable Phar's.
Both have the ability to convert between the two formats.
However, you can reference a file within a Phar regardless of whether it's executable using the
Phar stream wrapper (file_get_contents('phar://<Phar
file>/subdirectory/subdirectory/somefile.txt')).
Dustin Oprea