Home
last modified time | relevance | path

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

/PHP-8.3/ext/phar/
H A Dphar_object.c4296 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4303 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4310 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4323 char *pathto; in PHP_METHOD() local
4333 Z_PARAM_PATH(pathto, pathto_len) in PHP_METHOD()
4358 char *tmp = estrndup(pathto, 50); in PHP_METHOD()
4365 if (php_stream_stat_path(pathto, &ssb) < 0) { in PHP_METHOD()
4366 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in PHP_METHOD()
4369 "Unable to create path \"%s\" for extraction", pathto); in PHP_METHOD()
4374 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto); in PHP_METHOD()
[all …]
/PHP-8.3/ext/zip/
H A Dphp_zip.c2802 char *pathto; local
2807 Z_PARAM_PATH(pathto, pathto_len)
2818 if (php_stream_stat_path_ex(pathto, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) {
2819 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL);
2828 if (!php_zip_extract_file(intern, pathto, ZSTR_VAL(files_str), ZSTR_LEN(files_str), -1)) {
2843 if (!php_zip_extract_file(intern, pathto, Z_STRVAL_P(zval_file), Z_STRLEN_P(zval_file), -1)) {
2861 if (!file || !php_zip_extract_file(intern, pathto, file, strlen(file), i)) {
H A Dphp_zip.stub.php745 public function extractTo(string $pathto, array|string|null $files = null): bool {}
H A Dphp_zip_arginfo.h201 ZEND_ARG_TYPE_INFO(0, pathto, IS_STRING, 0)

Completed in 32 milliseconds