Home
last modified time | relevance | path

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

/PHP-8.1/ext/zip/
H A Dphp_zip.stub.php178 public function extractTo(string $pathto, array|string|null $files = null): bool {} argument
H A Dphp_zip.c2737 char *pathto; local
2742 Z_PARAM_PATH(pathto, pathto_len)
2753 if (php_stream_stat_path_ex(pathto, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) {
2754 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL);
2763 if (!php_zip_extract_file(intern, pathto, ZSTR_VAL(files_str), ZSTR_LEN(files_str))) {
2778 if (!php_zip_extract_file(intern, pathto, Z_STRVAL_P(zval_file), Z_STRLEN_P(zval_file))) {
2796 if (!file || !php_zip_extract_file(intern, pathto, file, strlen(file))) {
H A Dphp_zip_arginfo.h188 ZEND_ARG_TYPE_INFO(0, pathto, IS_STRING, 0)
/PHP-8.1/ext/phar/
H A Dphar_object.c4273 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4280 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4287 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4300 char *pathto; in PHP_METHOD() local
4310 Z_PARAM_PATH(pathto, pathto_len) in PHP_METHOD()
4335 char *tmp = estrndup(pathto, 50); in PHP_METHOD()
4342 if (php_stream_stat_path(pathto, &ssb) < 0) { in PHP_METHOD()
4343 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in PHP_METHOD()
4346 "Unable to create path \"%s\" for extraction", pathto); in PHP_METHOD()
4351 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto); in PHP_METHOD()
[all …]

Completed in 34 milliseconds