Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 25 of 73) sorted by relevance

123

/PHP-7.4/sapi/cli/
H A Dgenerate_mime_type_map.php22 $mime = array_shift($fields); variable
24 $extensions[$extension] = $mime;
35 foreach($additional_mime_maps as $ext => $mime) {
37 $extensions[$ext] = $mime;
39 printf(STDERR, "Ignored exist mime type: $ext => $mime\n");
74 <?php foreach ($extensions as $extension => $mime): ?>
75 …{ "<?= addcslashes($extension, "\0..\37!@\@\177..\377") ?>", "<?= addcslashes($mime, "\0..\37!@\@\…
/PHP-7.4/ext/fileinfo/libmagic/
H A Dfsmagic.c77 if ((mime & MAGIC_MIME_TYPE)) { in handle_mime()
93 int mime = ms->flags & MAGIC_MIME; in file_fsmagic() local
114 if (!mime && !silent) { in file_fsmagic()
145 if (mime) { in file_fsmagic()
174 if (mime) { in file_fsmagic()
175 if (handle_mime(ms, mime, "fifo") == -1) in file_fsmagic()
184 if (mime) { in file_fsmagic()
185 if (handle_mime(ms, mime, "door") == -1) in file_fsmagic()
205 if (mime) { in file_fsmagic()
228 if (mime) { in file_fsmagic()
[all …]
H A Dis_tar.c72 int mime = ms->flags & MAGIC_MIME; in file_is_tar() local
81 if (mime == MAGIC_MIME_ENCODING) in file_is_tar()
84 if (file_printf(ms, "%s", mime ? "application/x-tar" : in file_is_tar()
/PHP-7.4/ext/standard/tests/image/
H A Dgetimagesize.phpt39 ["mime"]=>
54 ["mime"]=>
69 ["mime"]=>
84 ["mime"]=>
101 ["mime"]=>
118 ["mime"]=>
135 ["mime"]=>
152 ["mime"]=>
167 ["mime"]=>
182 ["mime"]=>
[all …]
H A Dgetimagesize_basic.phpt66 ["mime"]=>
86 ["mime"]=>
106 ["mime"]=>
122 ["mime"]=>
140 ["mime"]=>
156 ["mime"]=>
176 ["mime"]=>
196 ["mime"]=>
214 ["mime"]=>
H A Dgetimagesizefromstring1.phpt30 ["mime"]=>
46 ["mime"]=>
/PHP-7.4/ext/fileinfo/
H A Dmagicdata.patch27 -!:mime audio/mpeg
29 -!:mime audio/mpeg
31 -!:mime audio/mpeg
33 -!:mime audio/mpeg
35 -!:mime audio/mpeg
37 -!:mime audio/mpeg
39 -!:mime audio/mpeg
41 -!:mime audio/mpeg
43 -!:mime audio/mpeg
45 -!:mime audio/mpeg
[all …]
/PHP-7.4/ext/phar/tests/
H A Dfrontcontroller12.phpt2 Phar front controller mime type unknown int
16 Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS a…
H A Dfrontcontroller13.phpt2 Phar front controller mime type not string/int
16 …: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, …
/PHP-7.4/ext/phar/tests/cache_list/
H A Dfrontcontroller12.phpt2 Phar front controller mime type unknown int [cache_list]
17 Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS a…
H A Dfrontcontroller13.phpt2 Phar front controller mime type not string/int [cache_list]
17 …: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, …
/PHP-7.4/ext/phar/tests/tar/
H A Dfrontcontroller12.phar.phpt2 Phar front controller mime type unknown int tar-based
16 Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS a…
H A Dfrontcontroller13.phar.phpt2 Phar front controller mime type not string/int tar-based
16 …: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, …
/PHP-7.4/ext/phar/tests/zip/
H A Dfrontcontroller12.phar.phpt2 Phar front controller mime type unknown int zip-based
17 Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS a…
H A Dfrontcontroller13.phar.phpt2 Phar front controller mime type not string/int zip-based
17 …: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, …
/PHP-7.4/ext/fileinfo/tests/
H A Dbug79756.phpt11 $mime = finfo_file($finfo, $filename);
13 echo $mime;
H A Dbug77961.magic3 !:mime text/x-srt
17 !:mime application/x-java-pack200
22 !:mime text/x-objective-c
H A Dmagic私はガラスを食べられます608 !:mime image/jp2
648 !:mime video/mp4
663 !:mime video/mp4
678 !:mime video/mp4
680 !:mime video/mp4
682 !:mime audio/mp4
684 !:mime audio/mp4
688 !:mime video/mp4
690 !:mime video/mp4
692 !:mime image/jp2
[all …]
H A Dmagic608 !:mime image/jp2
648 !:mime video/mp4
663 !:mime video/mp4
678 !:mime video/mp4
680 !:mime video/mp4
682 !:mime audio/mp4
684 !:mime audio/mp4
688 !:mime video/mp4
690 !:mime video/mp4
692 !:mime image/jp2
[all …]
H A Dbug68731.phpt2 Bug #68731 finfo_buffer doesn't extract the correct mime with some gifs
/PHP-7.4/ext/curl/
H A Dcurl_file.c33 zend_string *fname, *mime = NULL, *postname = NULL; in curlfile_ctor() local
39 Z_PARAM_STR(mime) in curlfile_ctor()
45 if (mime) { in curlfile_ctor()
46 zend_update_property_string(curl_CURLFile_class, cf, "mime", sizeof("mime")-1, ZSTR_VAL(mime)); in curlfile_ctor()
/PHP-7.4/ext/curl/tests/
H A Dcurl_file_upload.phpt8 function testcurl($ch, $name, $mime = '', $postname = '')
11 $file = new CurlFile($name, $mime, $postname);
12 } else if(!empty($mime)) {
13 $file = new CurlFile($name, $mime);
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug29061.wsdl6 ncoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
H A Dbug40609.wsdl1 …lns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/…
26mime:content type="text/xml" /></wsdl:input></wsdl:operation><wsdl:operation name="getPrice"><http…
/PHP-7.4/tests/basic/
H A Drfc1867_garbled_mime_headers.phpt2 rfc1867 garbled mime headers

Completed in 177 milliseconds

123