* prevent manual addition of stub via $a['.phar/stub.php'] = '<?php my stub';
* investigate potential collision between SPL's DirectoryIterator flags and
those in phar_archive_data
+ * compression should work for non-phar archives
X implement initial support for simple zip/tar archives (PharData) [Steph]
X make createDefaultStub() setDefaultStub() and have it file format-specific
[Steph]
return;
}
-// need to check that the string isn't Phar::GZ etc
if (ext_len) {
if (strncmp(ext, "Phar::GZ", 8) || strncmp(ext, "Phar::BZ2", 9)) {
zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC,