Lines Matching refs:archive

1140 	if (phar_obj->archive) {  in PHP_METHOD()
1214 phar_obj->archive = phar_data; in PHP_METHOD()
1233 phar_obj->archive->is_data = is_data; in PHP_METHOD()
1236 …add_ptr(&PHAR_G(phar_persist_map), (const char *) phar_obj->archive, sizeof(phar_obj->archive), ph… in PHP_METHOD()
1362 if (!phar_obj->archive) { \
1376 if (phar_obj->archive && phar_obj->archive->is_persistent) { in PHP_METHOD()
1377 …sh_str_del(&PHAR_G(phar_persist_map), (const char *) phar_obj->archive, sizeof(phar_obj->archive)); in PHP_METHOD()
1638 …if (!(data = phar_get_or_create_entry_data(phar_obj->archive->fname, phar_obj->archive->fname_len,… in phar_build()
1725 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
1741 …thodCallException, 0, "Unable to instantiate directory iterator for %s", phar_obj->archive->fname); in PHP_METHOD()
1760 …thodCallException, 0, "Unable to instantiate directory iterator for %s", phar_obj->archive->fname); in PHP_METHOD()
1781 …adMethodCallException, 0, "Unable to instantiate regex iterator for %s", phar_obj->archive->fname); in PHP_METHOD()
1802 …phar_ce_PharException, 0, "phar \"%s\" unable to create temporary file", phar_obj->archive->fname); in PHP_METHOD()
1806 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
1812 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
1823 phar_obj->archive->ufp = pass.fp; in PHP_METHOD()
1824 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
1861 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
1875 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
1876 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
1890 …har_ce_PharException, 0, "phar \"%s\": unable to create temporary file", phar_obj->archive->fname); in PHP_METHOD()
1895 phar_obj->archive->ufp = pass.fp; in PHP_METHOD()
1896 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
1920 RETURN_LONG(zend_hash_num_elements(&phar_obj->archive->manifest)); in PHP_METHOD()
1939 RETURN_BOOL(phar_obj->archive->is_tar); in PHP_METHOD()
1941 RETURN_BOOL(phar_obj->archive->is_zip); in PHP_METHOD()
1943 RETURN_BOOL(!phar_obj->archive->is_tar && !phar_obj->archive->is_zip); in PHP_METHOD()
2390 if (phar_obj->archive->is_tar) { in PHP_METHOD()
2392 } else if (phar_obj->archive->is_zip) { in PHP_METHOD()
2410 flags = phar_obj->archive->flags & PHAR_FILE_COMPRESSION_MASK; in PHP_METHOD()
2451 is_data = phar_obj->archive->is_data; in PHP_METHOD()
2452 phar_obj->archive->is_data = 0; in PHP_METHOD()
2453 ret = phar_convert_to_other(phar_obj->archive, format, ext, flags); in PHP_METHOD()
2454 phar_obj->archive->is_data = is_data; in PHP_METHOD()
2488 if (phar_obj->archive->is_tar) { in PHP_METHOD()
2490 } else if (phar_obj->archive->is_zip) { in PHP_METHOD()
2513 flags = phar_obj->archive->flags & PHAR_FILE_COMPRESSION_MASK; in PHP_METHOD()
2554 is_data = phar_obj->archive->is_data; in PHP_METHOD()
2555 phar_obj->archive->is_data = 1; in PHP_METHOD()
2556 ret = phar_convert_to_other(phar_obj->archive, (int)format, ext, flags); in PHP_METHOD()
2557 phar_obj->archive->is_data = is_data; in PHP_METHOD()
2579 if (phar_obj->archive->flags & PHAR_FILE_COMPRESSED_GZ) { in PHP_METHOD()
2583 if (phar_obj->archive->flags & PHAR_FILE_COMPRESSED_BZ2) { in PHP_METHOD()
2603 if (!phar_obj->archive->is_writeable) { in PHP_METHOD()
2607 if (SUCCESS != php_stream_stat_path(phar_obj->archive->fname, &ssb)) { in PHP_METHOD()
2608 if (phar_obj->archive->is_brandnew) { in PHP_METHOD()
2630 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2640 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
2641 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
2644 if (zend_hash_str_exists(&phar_obj->archive->manifest, fname, (uint32_t) fname_len)) { in PHP_METHOD()
2645 …if (NULL != (entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, fname, (uint32_t) fname_… in PHP_METHOD()
2652 phar_obj->archive->is_modified = 1; in PHP_METHOD()
2660 phar_flush(phar_obj->archive, NULL, 0, 0, &error); in PHP_METHOD()
2681 if (phar_obj->archive->alias && phar_obj->archive->alias != phar_obj->archive->fname) { in PHP_METHOD()
2682 RETURN_STRINGL(phar_obj->archive->alias, phar_obj->archive->alias_len); in PHP_METHOD()
2698 RETURN_STRINGL(phar_obj->archive->fname, phar_obj->archive->fname_len); in PHP_METHOD()
2715 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2725 if (phar_obj->archive->is_data) { in PHP_METHOD()
2726 if (phar_obj->archive->is_tar) { in PHP_METHOD()
2737 …if (alias_len == phar_obj->archive->alias_len && memcmp(phar_obj->archive->alias, alias, alias_len… in PHP_METHOD()
2752 "Invalid alias \"%s\" specified for phar \"%s\"", alias, phar_obj->archive->fname); in PHP_METHOD()
2756 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
2757 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
2760 …phar_obj->archive->alias_len && NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_map))… in PHP_METHOD()
2761 …zend_hash_str_del(&(PHAR_G(phar_alias_map)), phar_obj->archive->alias, phar_obj->archive->alias_le… in PHP_METHOD()
2765 oldalias = phar_obj->archive->alias; in PHP_METHOD()
2766 oldalias_len = phar_obj->archive->alias_len; in PHP_METHOD()
2767 old_temp = phar_obj->archive->is_temporary_alias; in PHP_METHOD()
2770 phar_obj->archive->alias = estrndup(alias, alias_len); in PHP_METHOD()
2772 phar_obj->archive->alias = NULL; in PHP_METHOD()
2775 phar_obj->archive->alias_len = alias_len; in PHP_METHOD()
2776 phar_obj->archive->is_temporary_alias = 0; in PHP_METHOD()
2777 phar_flush(phar_obj->archive, NULL, 0, 0, &error); in PHP_METHOD()
2780 phar_obj->archive->alias = oldalias; in PHP_METHOD()
2781 phar_obj->archive->alias_len = oldalias_len; in PHP_METHOD()
2782 phar_obj->archive->is_temporary_alias = old_temp; in PHP_METHOD()
2785 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), oldalias, oldalias_len, phar_obj->archive); in PHP_METHOD()
2791 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, phar_obj->archive); in PHP_METHOD()
2815 RETURN_STRING(phar_obj->archive->version); in PHP_METHOD()
2830 phar_obj->archive->donotflush = 1; in PHP_METHOD()
2845 RETURN_BOOL(phar_obj->archive->donotflush); in PHP_METHOD()
2862 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2868 phar_obj->archive->donotflush = 0; in PHP_METHOD()
2869 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
2891 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
2897 if (phar_obj->archive->is_data) { in PHP_METHOD()
2898 if (phar_obj->archive->is_tar) { in PHP_METHOD()
2915 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
2916 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
2919 phar_flush(phar_obj->archive, (char *) zstub, len, 0, &error); in PHP_METHOD()
2930 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
2931 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
2934 phar_flush(phar_obj->archive, stub, stub_len, 0, &error); in PHP_METHOD()
2969 if (phar_obj->archive->is_data) { in PHP_METHOD()
2970 if (phar_obj->archive->is_tar) { in PHP_METHOD()
2984 if (ZEND_NUM_ARGS() > 0 && (phar_obj->archive->is_tar || phar_obj->archive->is_zip)) { in PHP_METHOD()
2995 if (!phar_obj->archive->is_tar && !phar_obj->archive->is_zip) { in PHP_METHOD()
3010 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
3011 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
3014 phar_flush(phar_obj->archive, stub ? ZSTR_VAL(stub) : 0, stub ? ZSTR_LEN(stub) : 0, 1, &error); in PHP_METHOD()
3044 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3065 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
3066 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
3069 phar_obj->archive->sig_flags = (php_uint32)algo; in PHP_METHOD()
3070 phar_obj->archive->is_modified = 1; in PHP_METHOD()
3074 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
3098 if (phar_obj->archive->signature) { in PHP_METHOD()
3102 add_assoc_stringl(return_value, "hash", phar_obj->archive->signature, phar_obj->archive->sig_len); in PHP_METHOD()
3103 switch(phar_obj->archive->sig_flags) { in PHP_METHOD()
3120 unknown = strpprintf(0, "Unknown (%u)", phar_obj->archive->sig_flags); in PHP_METHOD()
3141 RETURN_BOOL(phar_obj->archive->is_modified); in PHP_METHOD()
3220 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3226 if (phar_obj->archive->is_zip) { in PHP_METHOD()
3259 if (phar_obj->archive->is_tar) { in PHP_METHOD()
3260 ret = phar_convert_to_other(phar_obj->archive, PHAR_FORMAT_TAR, ext, flags); in PHP_METHOD()
3262 ret = phar_convert_to_other(phar_obj->archive, PHAR_FORMAT_PHAR, ext, flags); in PHP_METHOD()
3287 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3293 if (phar_obj->archive->is_zip) { in PHP_METHOD()
3299 if (phar_obj->archive->is_tar) { in PHP_METHOD()
3300 ret = phar_convert_to_other(phar_obj->archive, PHAR_FORMAT_TAR, ext, PHAR_FILE_COMPRESSED_NONE); in PHP_METHOD()
3302 ret = phar_convert_to_other(phar_obj->archive, PHAR_FORMAT_PHAR, ext, PHAR_FILE_COMPRESSED_NONE); in PHP_METHOD()
3329 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3359 if (phar_obj->archive->is_tar) { in PHP_METHOD()
3365 if (!pharobj_cancompress(&phar_obj->archive->manifest)) { in PHP_METHOD()
3376 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
3377 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
3380 pharobj_set_compression(&phar_obj->archive->manifest, flags); in PHP_METHOD()
3381 phar_obj->archive->is_modified = 1; in PHP_METHOD()
3382 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
3403 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3409 if (!pharobj_cancompress(&phar_obj->archive->manifest)) { in PHP_METHOD()
3415 if (phar_obj->archive->is_tar) { in PHP_METHOD()
3418 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
3419 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
3422 pharobj_set_compression(&phar_obj->archive->manifest, PHAR_ENT_COMPRESSED_NONE); in PHP_METHOD()
3425 phar_obj->archive->is_modified = 1; in PHP_METHOD()
3426 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
3453 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3462 …ied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile, phar_obj->archive->fname); in PHP_METHOD()
3469 … to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfile, phar_obj->archive->fname); in PHP_METHOD()
3473 …exists(&phar_obj->archive->manifest, oldfile, (uint32_t) oldfile_len) || NULL == (oldentry = zend_… in PHP_METHOD()
3475 … be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_obj->archive->fname); in PHP_METHOD()
3479 if (zend_hash_str_exists(&phar_obj->archive->manifest, newfile, (uint32_t) newfile_len)) { in PHP_METHOD()
3480 …if (NULL != (temp = zend_hash_str_find_ptr(&phar_obj->archive->manifest, newfile, (uint32_t) newfi… in PHP_METHOD()
3482 … file \"%s\", file must not already exist in phar %s", oldfile, newfile, phar_obj->archive->fname); in PHP_METHOD()
3490 …, cannot be copied from \"%s\" in phar %s", newfile, pcr_error, oldfile, phar_obj->archive->fname); in PHP_METHOD()
3495 if (phar_obj->archive->is_persistent) { in PHP_METHOD()
3496 if (FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
3497 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
3501 oldentry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, oldfile, (uint32_t) oldfile_len); in PHP_METHOD()
3526 phar_obj->archive->is_modified = 1; in PHP_METHOD()
3527 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
3553 if (zend_hash_str_exists(&phar_obj->archive->manifest, fname, (uint32_t) fname_len)) { in PHP_METHOD()
3554 …if (NULL != (entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, fname, (uint32_t) fname_… in PHP_METHOD()
3567 if (zend_hash_str_exists(&phar_obj->archive->virtual_dirs, fname, (uint32_t) fname_len)) { in PHP_METHOD()
3592 if (!(entry = phar_get_entry_info_dir(phar_obj->archive, fname, fname_len, 1, &error, 0))) { in PHP_METHOD()
3596 …annot get stub \".phar/stub.php\" directly in phar \"%s\", use getStub", phar_obj->archive->fname); in PHP_METHOD()
3601 …ot get alias \".phar/alias.txt\" directly in phar \"%s\", use getAlias", phar_obj->archive->fname); in PHP_METHOD()
3615 sfname = strpprintf(0, "phar://%s/%s", phar_obj->archive->fname, fname); in PHP_METHOD()
3744 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3754 …annot set stub \".phar/stub.php\" directly in phar \"%s\", use setStub", phar_obj->archive->fname); in PHP_METHOD()
3759 …ot set alias \".phar/alias.txt\" directly in phar \"%s\", use setAlias", phar_obj->archive->fname); in PHP_METHOD()
3768 phar_add_file(&(phar_obj->archive), fname, fname_len, cont_str, cont_len, zresource); in PHP_METHOD()
3782 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
3791 if (zend_hash_str_exists(&phar_obj->archive->manifest, fname, (uint32_t) fname_len)) { in PHP_METHOD()
3792 …if (NULL != (entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, fname, (uint32_t) fname_… in PHP_METHOD()
3798 if (phar_obj->archive->is_persistent) { in PHP_METHOD()
3799 if (FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
3800 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
3804 entry = zend_hash_str_find_ptr(&phar_obj->archive->manifest, fname, (uint32_t) fname_len); in PHP_METHOD()
3809 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
3843 phar_mkdir(&phar_obj->archive, dirname, dirname_len); in PHP_METHOD()
3879 phar_add_file(&(phar_obj->archive), fname, fname_len, NULL, 0, &zresource); in PHP_METHOD()
3898 phar_add_file(&(phar_obj->archive), localname, localname_len, cont_str, cont_len, NULL); in PHP_METHOD()
3919 if (phar_obj->archive->is_tar || phar_obj->archive->is_zip) { in PHP_METHOD()
3921 …if (NULL != (stub = zend_hash_str_find_ptr(&(phar_obj->archive->manifest), ".phar/stub.php", sizeo… in PHP_METHOD()
3922 …if (phar_obj->archive->fp && !phar_obj->archive->is_brandnew && !(stub->flags & PHAR_ENT_COMPRESSI… in PHP_METHOD()
3923 fp = phar_obj->archive->fp; in PHP_METHOD()
3925 if (!(fp = php_stream_open_wrapper(phar_obj->archive->fname, "rb", 0, NULL))) { in PHP_METHOD()
3926 …e_UnexpectedValueException, 0, "phar error: unable to open phar \"%s\"", phar_obj->archive->fname); in PHP_METHOD()
3938 …unable to read stub of phar \"%s\" (cannot create %s filter)", phar_obj->archive->fname, phar_deco… in PHP_METHOD()
3958 len = phar_obj->archive->halt_offset; in PHP_METHOD()
3960 if (phar_obj->archive->fp && !phar_obj->archive->is_brandnew) { in PHP_METHOD()
3961 fp = phar_obj->archive->fp; in PHP_METHOD()
3963 fp = php_stream_open_wrapper(phar_obj->archive->fname, "rb", 0, NULL); in PHP_METHOD()
3977 if (fp != phar_obj->archive->fp) { in PHP_METHOD()
3991 if (fp != phar_obj->archive->fp) { in PHP_METHOD()
4008 RETURN_BOOL(Z_TYPE(phar_obj->archive->metadata) != IS_UNDEF); in PHP_METHOD()
4023 if (Z_TYPE(phar_obj->archive->metadata) != IS_UNDEF) { in PHP_METHOD()
4024 if (phar_obj->archive->is_persistent) { in PHP_METHOD()
4025 …char *buf = estrndup((char *) Z_PTR(phar_obj->archive->metadata), phar_obj->archive->metadata_len); in PHP_METHOD()
4027 phar_parse_metadata(&buf, return_value, phar_obj->archive->metadata_len); in PHP_METHOD()
4030 ZVAL_COPY(return_value, &phar_obj->archive->metadata); in PHP_METHOD()
4046 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
4055 if (phar_obj->archive->is_persistent && FAILURE == phar_copy_on_write(&(phar_obj->archive))) { in PHP_METHOD()
4056 …_PharException, 0, "phar \"%s\" is persistent, unable to copy on write", phar_obj->archive->fname); in PHP_METHOD()
4059 if (Z_TYPE(phar_obj->archive->metadata) != IS_UNDEF) { in PHP_METHOD()
4060 zval_ptr_dtor(&phar_obj->archive->metadata); in PHP_METHOD()
4061 ZVAL_UNDEF(&phar_obj->archive->metadata); in PHP_METHOD()
4064 ZVAL_COPY(&phar_obj->archive->metadata, metadata); in PHP_METHOD()
4065 phar_obj->archive->is_modified = 1; in PHP_METHOD()
4066 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
4084 if (PHAR_G(readonly) && !phar_obj->archive->is_data) { in PHP_METHOD()
4089 if (Z_TYPE(phar_obj->archive->metadata) != IS_UNDEF) { in PHP_METHOD()
4090 zval_ptr_dtor(&phar_obj->archive->metadata); in PHP_METHOD()
4091 ZVAL_UNDEF(&phar_obj->archive->metadata); in PHP_METHOD()
4092 phar_obj->archive->is_modified = 1; in PHP_METHOD()
4093 phar_flush(phar_obj->archive, 0, 0, 0, &error); in PHP_METHOD()
4291 static int extract_helper(phar_archive_data *archive, zend_string *search, char *pathto, size_t pat… in extract_helper() argument
4297 ZEND_HASH_FOREACH_PTR(&archive->manifest, entry) { in extract_helper()
4303 ZEND_HASH_FOREACH_PTR(&archive->manifest, entry) { in extract_helper()
4310 entry = zend_hash_find_ptr(&archive->manifest, search); in extract_helper()
4342 fp = php_stream_open_wrapper(phar_obj->archive->fname, "rb", IGNORE_URL|STREAM_MUST_SEEK, NULL); in PHP_METHOD()
4346 "Invalid argument, %s cannot be found", phar_obj->archive->fname); in PHP_METHOD()
4399 …switch (extract_helper(phar_obj->archive, Z_STR_P(zval_file), pathto, pathto_len, overwrite, &erro… in PHP_METHOD()
4402 phar_obj->archive->fname, error); in PHP_METHOD()
4408 ZSTR_VAL(Z_STR_P(zval_file)), phar_obj->archive->fname); in PHP_METHOD()
4422 ret = extract_helper(phar_obj->archive, filename, pathto, pathto_len, overwrite, &error); in PHP_METHOD()
4425 phar_obj->archive->fname, error); in PHP_METHOD()
4430 ZSTR_VAL(filename), phar_obj->archive->fname); in PHP_METHOD()
5164 ZEND_ARG_INFO(0, archive)