/PHP-7.4/ |
H A D | .gitattributes | 3 /ext/phar/phar/pharcommand.inc ident
|
H A D | .gitignore | 107 /ext/phar/phar.1 108 /ext/phar/phar.phar.1 130 /ext/phar/phar.phar 131 /ext/phar/phar.php 132 /pear/install-pear-nozlib.phar 146 /ext/phar/phar_path_check.c
|
H A D | EXTENSIONS | 411 EXTENSION: phar
|
H A D | NEWS | 19 . Fixed bug #81726: phar wrapper: DOS when using quine gzip file. 2526 . Fixed bug #76510 (file_exists() stopped working for phar://). (cmb) 2725 - phar:
|
H A D | README.REDIST.BINS | 15 15. ext/phar portions of tar implementations 16 16. ext/phar/zip.c portion extracted from libzip 557 15. ext/phar portions of tar implementations 559 portions of tar implementations in ext/phar - phar_tar_octal() are based on an 586 16. ext/phar/zip.c portion extracted from libzip
|
/PHP-7.4/Zend/tests/ |
H A D | bug66660.phpt | 2 Bug #66660 (Composer.phar install/update fails)
|
/PHP-7.4/build/ |
H A D | Makefile.global | 124 …onfig.1 sapi/cli/php.1 sapi/cgi/php-cgi.1 sapi/phpdbg/phpdbg.1 ext/phar/phar.1 ext/phar/phar.phar.1 127 rm -f ext/phar/phar.phar ext/phar/phar.php 129 rm -f ext/phar/phar/phar.inc; \
|
/PHP-7.4/docs/ |
H A D | release-process.md | 234 pear files are updated (phar). On some systems the behavior of GNU tar can
|
/PHP-7.4/ext/opcache/tests/ |
H A D | issue0115.phpt | 2 ISSUE #115 (path issue when using phar) 6 phar.readonly=0 9 <?php if (!extension_loaded("phar")) die("skip"); ?> 17 require "phar://this/index.php"; 19 $p = new Phar(__DIR__ . '/issue0115_1.phar.php', 0, 'this'); 22 require_once "phar://this/hello.php"; 27 $p = new Phar(__DIR__ . '/issue0115_2.phar.php', 0, 'this'); 30 require_once "phar://this/hello.php"; 38 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0115_1.phar.php'); 43 @unlink(__DIR__ . '/issue0115_1.phar.php'); [all …]
|
H A D | issue0149.phpt | 6 phar.readonly=0 9 <?php if (!extension_loaded("phar")) die("skip"); ?> 19 $p = new Phar(__DIR__ . '/issue0149.phar.php', 0, 'this'); 25 php_cli_server_start('-d opcache.enable=1 -d opcache.enable_cli=1 -d extension=phar.'.PHP_SHLIB_SUF… 26 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php'); 27 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php'); 28 echo file_get_contents('http://' . PHP_CLI_SERVER_ADDRESS . '/issue0149.phar.php'); 32 @unlink(__DIR__ . '/issue0149.phar.php');
|
/PHP-7.4/ext/openssl/tests/ |
H A D | bug65538_003.phpt | 2 Bug #65538: SSL context "cafile" supports phar wrapper 6 if (!extension_loaded("phar")) die("skip phar not loaded"); 10 phar.readonly=0 16 $cacertPhar = __DIR__ . DIRECTORY_SEPARATOR . 'bug65538_003-ca.phar.tmp'; 50 'cafile' => 'phar://%s/%s', 65 $phar = new Phar($cacertPhar); 66 $phar->addFromString($cacertFile, $certificateGenerator->getCaCert()); 74 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'bug65538_003-ca.phar.tmp');
|
/PHP-7.4/ext/phar/ |
H A D | Makefile.frag | 9 pharcmd: $(builddir)/phar.php $(builddir)/phar.phar 28 $(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc 29 -@test -d $(builddir)/phar || mkdir $(builddir)/phar 30 -@test -f $(builddir)/phar/phar.inc || cp $(srcdir)/phar/phar.inc $(builddir)/phar/phar.inc 36 $(builddir)/phar.phar: $(builddir)/phar.php $(builddir)/phar/phar.inc $(srcdir)/phar/*.inc $(srcdir… 38 -@rm -f $(builddir)/phar.phar 39 -@rm -f $(srcdir)/phar.phar 40 …phar.php pack -f $(builddir)/phar.phar -a pharcommand -c auto -x \\.svn -p 0 -s $(srcdir)/phar/pha… 41 -@chmod +x $(builddir)/phar.phar 45 …$(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir)/$(program_prefix)phar$(program_suffix).p… [all …]
|
H A D | Makefile.frag.w32 | 1 ext\phar\phar_path_check.c: ext\phar\phar_path_check.re 3 …$(RE2C) $(RE2C_FLAGS) --no-generation-date -b -o ext/phar/phar_path_check.c ext/phar/phar_path_che…
|
H A D | config.m4 | 1 PHP_ARG_ENABLE([phar], 2 [for phar archive support], 3 [AS_HELP_STRING([--disable-phar], 4 [Disable phar support])], 8 …PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_ob… 9 AC_MSG_CHECKING([for phar openssl support]) 20 PHP_ADD_EXTENSION_DEP(phar, hash, true) 21 PHP_ADD_EXTENSION_DEP(phar, spl, true) 24 PHP_INSTALL_HEADERS([ext/phar], [php_phar.h]) 26 PHP_OUTPUT(ext/phar/phar.1 ext/phar/phar.phar.1)
|
H A D | config.w32 | 3 ARG_ENABLE("phar", "disable phar support", "yes"); 4 ARG_ENABLE("phar-native-ssl", "enable phar with native OpenSSL support", "no"); 11 …EXTENSION("phar", "dirstream.c func_interceptors.c phar.c phar_object.c phar_path_check.c stream.c… 16 if (CHECK_LIB("libeay32st.lib", "phar")) { 37 ADD_EXTENSION_DEP('phar', 'spl', true);
|
H A D | dirstream.c | 310 phar_archive_data *phar; in phar_wrapper_open_dir() local 414 phar_archive_data *phar = NULL; in phar_wrapper_mkdir() local 427 phar = NULL; in phar_wrapper_mkdir() 433 if (PHAR_G(readonly) && (!phar || !phar->is_data)) { in phar_wrapper_mkdir() 499 if (phar->is_zip) { in phar_wrapper_mkdir() 505 if (phar->is_tar) { in phar_wrapper_mkdir() 513 entry.phar = phar; in phar_wrapper_mkdir() 526 phar_flush(phar, 0, 0, 0, &error); in phar_wrapper_mkdir() 546 phar_archive_data *phar = NULL; in phar_wrapper_rmdir() local 562 phar = NULL; in phar_wrapper_rmdir() [all …]
|
H A D | func_interceptors.c | 131 phar_archive_data *phar; in PHAR_FUNC() local 253 phar_archive_data *phar; in PHAR_FUNC() local 354 phar_archive_data *phar; in PHAR_FUNC() local 597 phar_archive_data *phar; in phar_file_stat() local 614 phar = PHAR_G(last_phar); in phar_file_stat() 650 sb.st_mtime = phar->max_timestamp; in phar_file_stat() 651 sb.st_atime = phar->max_timestamp; in phar_file_stat() 652 sb.st_ctime = phar->max_timestamp; in phar_file_stat() 733 if (!phar->is_writeable) { in phar_file_stat() 875 phar_archive_data *phar; in PharFileFunction() local [all …]
|
H A D | gdbhelp | 45 display phar globals 64 printf "phar %s is open (%i)\n", $pharname, $pharrefcount 72 printf "phar %s file %s is open (%i)\n", $pharname, (*(phar_entry_info *)$m->pData).filename, $a 83 …displays all open file pointers in phar, and the phars plus entries that are open with reference c… 120 display phar_entry_info for a file within a phar. If the optional third param
|
H A D | phar.c | 202 if (phar->alias && phar->alias != phar->fname) { in PHP_INI_END() 203 pefree(phar->alias, phar->is_persistent); in PHP_INI_END() 208 pefree(phar->fname, phar->is_persistent); in PHP_INI_END() 213 pefree(phar->signature, phar->is_persistent); in PHP_INI_END() 257 pefree(phar, phar->is_persistent); in PHP_INI_END() 281 if (phar->fp && (!(phar->flags & PHAR_FILE_COMPRESSION_MASK) || !phar->alias)) { in phar_archive_delref() 460 phar = idata->phar; in phar_entry_remove() 567 if (!phar->halt_offset && !phar->is_brandnew && (phar->is_tar || phar->is_zip)) { in phar_open_parsed_phar() 2551 if (phar->fp && !phar->is_brandnew) { in phar_flush() 2891 || (size_t)phar->alias_len != php_stream_write(newfile, phar->alias, phar->alias_len)) { in phar_flush() [all …]
|
H A D | phar_internal.h | 186 ZEND_END_MODULE_GLOBALS(phar) 329 return entry->phar->fp; in phar_get_entrypfp() 337 return entry->phar->ufp; in phar_get_entrypufp() 345 entry->phar->fp = fp; in phar_set_entrypfp() 355 entry->phar->ufp = fp; in phar_set_entrypufp() 364 if (!phar->is_persistent) { in phar_get_pharfp() 365 return phar->fp; in phar_get_pharfp() 373 return phar->ufp; in phar_get_pharufp() 381 phar->fp = fp; in phar_set_pharfp() 391 phar->ufp = fp; in phar_set_pharufp() [all …]
|
H A D | phar_object.c | 1359 fname = estrndup(phar->fname, phar->fname_len); in PHP_METHOD() 2101 oldpath = estrndup(phar->fname, phar->fname_len); in phar_rename_archive() 2148 phar->ext = newpath + phar->fname_len - strlen(ext) - 1; in phar_rename_archive() 2159 if (pphar->fname_len == phar->fname_len && !memcmp(pphar->fname, phar->fname, phar->fname_len)) { in phar_rename_archive() 2251 ZVAL_STRINGL(&arg1, phar->fname, phar->fname_len); in phar_rename_archive() 2348 newentry.phar = phar; in phar_convert_to_other() 4685 phar_archive_data *phar = entry_obj->entry->phar; in PHP_METHOD() local 4788 phar_archive_data *phar = entry_obj->entry->phar; in PHP_METHOD() local 4841 phar_archive_data *phar = entry_obj->entry->phar; in PHP_METHOD() local 4960 phar_archive_data *phar = entry_obj->entry->phar; in PHP_METHOD() local [all …]
|
H A D | phar_path_check.re | 3 | phar php single-file executable PHP extension |
|
H A D | stream.c | 130 if (phar->is_persistent && FAILURE == phar_copy_on_write(&phar)) { in phar_parse_url() 163 phar_archive_data *phar; in phar_wrapper_open_url() local 249 if (phar->is_tar || phar->is_zip) { in phar_wrapper_open_url() 266 entry->phar = phar; in phar_wrapper_open_url() 273 idata->phar = phar; in phar_wrapper_open_url() 275 if (!phar->is_persistent) { in phar_wrapper_open_url() 276 ++(entry->phar->refcount); in phar_wrapper_open_url() 514 if (!phar->is_writeable) { in phar_dostat() 558 phar_archive_data *phar; in phar_wrapper_stat() local 616 if (HT_IS_INITIALIZED(&phar->mounted_dirs) && zend_hash_num_elements(&phar->mounted_dirs)) { in phar_wrapper_stat() [all …]
|
/PHP-7.4/ext/phar/phar/ |
H A D | phar.inc | 4 * @file phar.inc
|
H A D | pharcommand.inc | 280 …self::error("Phar files must have file extension '.phar', '.phar.php', '.phar.bz2' or '.phar.gz'.\… 317 * with phar:// 515 $s .= "\tinclude 'phar://'.__FILE__.'/phar.inc';\n"; 537 self::phar_add_file($phar, 0, 'phar.inc', 'phar://'.__FILE__.'/phar.inc', NULL); 539 self::phar_add_file($phar, 0, 'phar.inc', dirname(__FILE__).'/phar/phar.inc', NULL); 621 * @param Phar $phar The phar object. 658 * Add a phar file 662 * @param Phar $phar The phar object 958 unset($phar[$entry]); 994 * a phar archive. [all …]
|