Home
last modified time | relevance | path

Searched refs:pathto (Results 1 – 4 of 4) sorted by relevance

/PHP-8.0/ext/zip/
H A Dphp_zip.stub.php165 public function extractTo(string $pathto, array|string|null $files = null) {} argument
H A Dphp_zip.c2728 char *pathto; local
2733 Z_PARAM_PATH(pathto, pathto_len)
2744 if (php_stream_stat_path_ex(pathto, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) {
2745 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL);
2754 if (!php_zip_extract_file(intern, pathto, ZSTR_VAL(files_str), ZSTR_LEN(files_str))) {
2769 if (!php_zip_extract_file(intern, pathto, Z_STRVAL_P(zval_file), Z_STRLEN_P(zval_file))) {
2787 if (!file || !php_zip_extract_file(intern, pathto, file, strlen(file))) {
H A Dphp_zip_arginfo.h177 ZEND_ARG_TYPE_INFO(0, pathto, IS_STRING, 0)
/PHP-8.0/ext/phar/
H A Dphar_object.c4290 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4297 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4304 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4317 char *pathto; in PHP_METHOD() local
4327 Z_PARAM_PATH(pathto, pathto_len) in PHP_METHOD()
4352 char *tmp = estrndup(pathto, 50); in PHP_METHOD()
4359 if (php_stream_stat_path(pathto, &ssb) < 0) { in PHP_METHOD()
4360 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in PHP_METHOD()
4363 "Unable to create path \"%s\" for extraction", pathto); in PHP_METHOD()
4368 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto); in PHP_METHOD()
[all …]

Completed in 30 milliseconds