Download src/php/php-src/ext/curl/curl_file.stub.php from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 951 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/curl/curl_file.stub.php
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/curl/curl_file.stub.php
-
curl -L -o curl_file.stub.php https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/curl/curl_file.stub.php
951 Bytes
| /** @generate-class-entries */ | |
| /** @not-serializable */ | |
| class CURLFile | |
| { | |
| public string $name = ""; | |
| public string $mime = ""; | |
| public string $postname = ""; | |
| public function __construct(string $filename, ?string $mime_type = null, ?string $posted_filename = null) {} | |
| /** @tentative-return-type */ | |
| public function getFilename(): string {} | |
| /** @tentative-return-type */ | |
| public function getMimeType(): string {} | |
| /** @tentative-return-type */ | |
| public function getPostFilename(): string {} | |
| /** @tentative-return-type */ | |
| public function setMimeType(string $mime_type): void {} | |
| /** @tentative-return-type */ | |
| public function setPostFilename(string $posted_filename): void {} | |
| } | |
| class CURLStringFile | |
| { | |
| public string $data; | |
| public string $postname; | |
| public string $mime; | |
| public function __construct(string $data, string $postname, string $mime = "application/octet-stream") {} | |
| } | |