Home
last modified time | relevance | path

Searched refs:mimes (Results 1 – 10 of 10) sorted by relevance

/PHP-5.4/ext/phar/
H A Dshortarc.php15 $mimes = array( variable
87 if (isset($mimes[$b['extension']])) {
88 if ($mimes[$b['extension']] === 1) {
92 if ($mimes[$b['extension']] === 2) {
96 header('Content-Type: ' .$mimes[$b['extension']]);
H A Dphar_object.c39 static int phar_file_type(HashTable *mimes, char *file, char **mime_type TSRMLS_DC) /* {{{ */ in phar_file_type() argument
50 if (SUCCESS != zend_hash_find(mimes, ext, strlen(ext), (void **) &mime)) { in phar_file_type()
/PHP-5.4/ext/phar/tests/
H A Dphar_createdefaultstub.phpt51 $mimes = array(
123 if (isset($mimes[$b['extension']])) {
124 if ($mimes[$b['extension']] === 1) {
128 if ($mimes[$b['extension']] === 2) {
345 $mimes = array(
417 if (isset($mimes[$b['extension']])) {
418 if ($mimes[$b['extension']] === 1) {
422 if ($mimes[$b['extension']] === 2) {
647 $mimes = array(
720 if ($mimes[$b['extension']] === 1) {
[all …]
H A Dphar_setdefaultstub.phpt71 $mimes = array(
143 if (isset($mimes[$b['extension']])) {
144 if ($mimes[$b['extension']] === 1) {
148 if ($mimes[$b['extension']] === 2) {
366 $mimes = array(
438 if (isset($mimes[$b['extension']])) {
439 if ($mimes[$b['extension']] === 1) {
443 if ($mimes[$b['extension']] === 2) {
661 $mimes = array(
734 if ($mimes[$b['extension']] === 1) {
[all …]
/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dnophar.phar15 $mimes = array(
87 if (isset($mimes[$b['extension']])) {
88 if ($mimes[$b['extension']] === 1) {
92 if ($mimes[$b['extension']] === 2) {
96 header('Content-Type: ' .$mimes[$b['extension']]);
H A Dopenssl.phar15 $mimes = array(
87 if (isset($mimes[$b['extension']])) {
88 if ($mimes[$b['extension']] === 1) {
92 if ($mimes[$b['extension']] === 2) {
96 header('Content-Type: ' .$mimes[$b['extension']]);
/PHP-5.4/ext/phar/tests/files/
H A Dinclude_path2.phar15 $mimes = array(
87 if (isset($mimes[$b['extension']])) {
88 if ($mimes[$b['extension']] === 1) {
92 if ($mimes[$b['extension']] === 2) {
96 header('Content-Type: ' .$mimes[$b['extension']]);
H A Dnophar.phar15 $mimes = array(
87 if (isset($mimes[$b['extension']])) {
88 if ($mimes[$b['extension']] === 1) {
92 if ($mimes[$b['extension']] === 2) {
96 header('Content-Type: ' .$mimes[$b['extension']]);
H A Dopenssl.phar15 $mimes = array(
87 if (isset($mimes[$b['extension']])) {
88 if ($mimes[$b['extension']] === 1) {
92 if ($mimes[$b['extension']] === 2) {
96 header('Content-Type: ' .$mimes[$b['extension']]);
/PHP-5.4/ext/fileinfo/tests/
H A Dmagic2698 # sigh, there are many mimes for that but the above are the most common.

Completed in 76 milliseconds