/PHP-7.2/ext/exif/tests/ |
H A D | exif_imagetype_error.phpt | 22 echo "\n-- Testing exif_imagetype() function with an unknown file --\n"; 41 -- Testing exif_imagetype() function with an unknown file -- 43 Warning: exif_imagetype(%s/foo.jpg): failed to open stream: No such file or directory in %s on line…
|
H A D | exif_imagetype_variation1.phpt | 91 // closing the file 109 Warning: exif_imagetype(0): failed to open stream: No such file or directory in %s on line %d 113 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d 117 Warning: exif_imagetype(12345): failed to open stream: No such file or directory in %s on line %d 121 Warning: exif_imagetype(-2345): failed to open stream: No such file or directory in %s on line %d 125 Warning: exif_imagetype(10.5): failed to open stream: No such file or directory in %s on line %d 129 Warning: exif_imagetype(-10.5): failed to open stream: No such file or directory in %s on line %d 141 Warning: exif_imagetype(0.5): failed to open stream: No such file or directory in %s on line %d 165 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d 173 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d [all …]
|
H A D | exif_read_data_0.phpt | 2 Test exif_read_data on unavailable file 12 Warning: exif_read_data(): Unable to open file in %sexif_read_data_0.php on line %d
|
H A D | exif_tagname_variation1-64bit.phpt | 93 // closing the file
|
H A D | exif_tagname_variation1.phpt | 91 // closing the file
|
H A D | tag_with_illegal_zero_components.phpt | 20 Warning: exif_read_data(tag_with_illegal_zero_components.jpeg): Invalid JPEG file in %s on line %d
|
/PHP-7.2/ext/ |
H A D | ext_skel | 111 dnl Comments in this file start with the string 'dnl'. 112 dnl Remove where necessary. This file will not work
|
/PHP-7.2/ext/fileinfo/ |
H A D | fileinfo.c | 168 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC) 292 char *file = NULL; in PHP_FUNCTION() local 300 …if (zend_parse_parameters_ex(flags, ZEND_NUM_ARGS(), "|lp", &options, &file, &file_len) == FAILURE… in PHP_FUNCTION() 317 file = NULL; in PHP_FUNCTION() 318 } else if (file && *file) { /* user specified file, perform open_basedir checks */ in PHP_FUNCTION() 320 if (php_check_open_basedir(file)) { in PHP_FUNCTION() 329 if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND)) { in PHP_FUNCTION() 338 file = resolved_path; in PHP_FUNCTION() 358 if (magic_load(finfo->magic, file) == -1) { in PHP_FUNCTION() 359 php_error_docref(NULL, E_WARNING, "Failed to load magic database at '%s'.", file); in PHP_FUNCTION()
|
H A D | fileinfo.php | 12 foreach ($files as $file) { 13 echo finfo_file($res, $file) . "\n"; 26 foreach ($files as $file) { 27 echo $fi->buffer(file_get_contents($file)) . "\n";
|
H A D | libmagic.patch | 10 #include "file.h" 397 - FILE *f = fopen(ms->file = fn, "r"); 402 + ms->file = fn; 412 /* read and parse this file */ 478 /* load directory or file */ 1385 diff -u libmagic.orig/file.h libmagic/file.h 2117 /* Check if we have a CDF file */ 2329 #include "file.h" 2844 #include "file.h" 3033 - if (ms->file) [all …]
|
H A D | magicdata.patch | 28 Upstream commit: https://github.com/file/file/commit/898f5d27b66b5d5592cb56fa9da5b776628ea6ca 124 Subject: [PATCH] Strength decreased in magic file magic/Magdir/dump for new-fs 125 dump file (little endian) to correctly recognize '*.mo' GNU message catalog 130 Upstream commit: https://github.com/file/file/commit/2e5e9e16a4847b2e60cabc70e6b9bd7d633cb68a 135 1 file changed, 3 insertions(+), 1 deletion(-) 144 24 lelong 60012 new-fs dump file (little endian), 149 24 lelong 60011 old-fs dump file (little endian), 164 1 file changed, 2 insertions(+) 190 1 file changed, 7 insertions(+), 6 deletions(-)
|
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | LICENSE | 2 Download: ftp://ftp.astron.com/pub/file/ 17 notice immediately at the beginning of the file, without modification,
|
H A D | apprentice.c | 509 ms->file = "unknown"; in file_ms_alloc() 1049 ms->file = fn; in load_1()
|
H A D | cdf.c | 99 cdf_malloc(const char *file, size_t line, size_t n) in cdf_malloc() argument 101 DPRINTF(("%s,%zu: %s %zu\n", file, line, __func__, n)); in cdf_malloc() 106 cdf_realloc(const char *file, size_t line, void *p, size_t n) in cdf_realloc() argument 108 DPRINTF(("%s,%zu: %s %zu\n", file, line, __func__, n)); in cdf_realloc() 113 cdf_calloc(const char *file, size_t line, size_t n, size_t u) in cdf_calloc() argument 115 DPRINTF(("%s,%zu: %s %zu %zu\n", file, line, __func__, n, u)); in cdf_calloc()
|
H A D | file.h | 402 const char *file; member
|
H A D | magic.c | 98 unreadable_info(struct magic_set *ms, mode_t md, const char *file) in unreadable_info() argument 100 if (file) { in unreadable_info() 102 if (access(file, W_OK) == 0) in unreadable_info() 105 if (access(file, X_OK) == 0) in unreadable_info()
|
H A D | softmagic.c | 126 const char *file, size_t line) in file_fmtcheck() argument 132 " with `%s'", file, line, m->desc, def); in file_fmtcheck()
|
/PHP-7.2/ext/fileinfo/tests/ |
H A D | bug57547.phpt | 2 Bug #57547 Settings options on file doesn't give same result as constructor options 14 var_dump($finfo->file($filename)); 17 var_dump($finfo2->file($filename, FILEINFO_MIME));
|
H A D | bug67516.phpt | 11 var_dump($f->file(dirname(__FILE__) . "/bug67516.gif", FILEINFO_MIME_TYPE)); 12 var_dump($f->file(dirname(__FILE__) . "/bug67516.gif", FILEINFO_MIME));
|
H A D | bug67647-mb.phpt | 19 /* Streams mb path support is tested a lot elsewhere. Copy the existing file 26 var_dump($fi->file($f));
|
H A D | bug67647.phpt | 11 var_dump($fi->file($f));
|
H A D | bug68398.phpt | 9 var_dump($f->file(dirname(__FILE__) . DIRECTORY_SEPARATOR . '68398.zip'));
|
H A D | bug68735.phpt | 10 var_dump($f->file($test_file));
|
H A D | bug68819_001.phpt | 2 Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 1
|
H A D | bug68819_002.phpt | 2 Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 2
|