Searched refs:finfo_open (Results 1 – 25 of 32) sorted by relevance
12
/PHP-7.1/ext/fileinfo/tests/ |
H A D | finfo_open_001.phpt | 2 finfo_open(): Testing magic_file names 8 var_dump(finfo_open(FILEINFO_MIME, "\0")); 9 var_dump(finfo_open(FILEINFO_MIME, NULL)); 10 var_dump(finfo_open(FILEINFO_MIME, '')); 11 var_dump(finfo_open(FILEINFO_MIME, 123)); 12 var_dump(finfo_open(FILEINFO_MIME, 1.0)); 13 var_dump(finfo_open(FILEINFO_MIME, '/foo/bar/inexistent')); 17 Warning: finfo_open() expects parameter 2 to be a valid path, string given in %s on line %d 26 Warning: finfo_open(): Failed to load magic database at '%s123'. in %s on line %d 33 Warning: finfo_open(): Failed to load magic database at '%s1'. in %s on line %d [all …]
|
H A D | finfo_open_error.phpt | 2 Test finfo_open() function : error functionality 7 /* Prototype : resource finfo_open([int options [, string arg]]) 15 echo "*** Testing finfo_open() : error functionality ***\n"; 17 var_dump( finfo_open( FILEINFO_MIME, 'foobarfile' ) ); 18 var_dump( finfo_open( array(), $magicFile ) ); 19 var_dump( finfo_open( FILEINFO_MIME, $magicFile, 'extraArg' ) ); 20 var_dump( finfo_open( PHP_INT_MAX - 1, $magicFile ) ); 21 var_dump( finfo_open( 'foobar' ) ); 32 *** Testing finfo_open() : error functionality *** 44 Warning: finfo_open() expects at most 2 parameters, 3 given in %sfinfo_open_error.php on line 14 [all …]
|
H A D | finfo_open_basic.phpt | 2 Test finfo_open() function : basic functionality 15 echo "*** Testing finfo_open() : basic functionality ***\n"; 17 // Calling finfo_open() with different options 18 var_dump( finfo_open( FILEINFO_MIME, $magicFile ) ); 19 var_dump( finfo_open( FILEINFO_NONE, $magicFile ) ); 20 var_dump( finfo_open( FILEINFO_SYMLINK, $magicFile ) ); 21 //var_dump( finfo_open( FILEINFO_COMPRESS, $magicFile ) ); 22 var_dump( finfo_open( FILEINFO_DEVICES, $magicFile ) ); 23 var_dump( finfo_open( FILEINFO_CONTINUE, $magicFile ) ); 25 var_dump( finfo_open( FILEINFO_RAW, $magicFile ) ); [all …]
|
H A D | bug61964.phpt | 2 Bug #61964 (finfo_open with directory cause invalid free) 10 $ret = @finfo_open(FILEINFO_NONE, $magic_file . ".non-exits"); 21 $ret = finfo_open(FILEINFO_NONE, $dir); 24 $ret = @finfo_open(FILEINFO_NONE, $dir); 27 $ret = @finfo_open(FILEINFO_NONE, $dir. "/non-exits-dir"); 35 finfo_open(FILEINFO_NONE, $dir); 61 Notice: finfo_open(): Warning: type `Me' invalid in %sbug61964.php on line %d 63 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964.php on line %d 65 Notice: finfo_open(): Warning: type `a' invalid in %sbug61964.php on line %d 67 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964.php on line %d [all …]
|
H A D | finfo_open_variation1.phpt | 2 Test finfo_open() function : variations in opening 7 /* Prototype : resource finfo_open([int options [, string arg]]) 15 echo "*** Testing finfo_open() : variations in opening ***\n"; 17 // Calling finfo_open() with different options 18 var_dump( finfo_open( FILEINFO_MIME | FILEINFO_SYMLINK, $magicFile ) ); 19 //var_dump( finfo_open( FILEINFO_COMPRESS | FILEINFO_PRESERVE_ATIME, $magicFile ) ); 20 var_dump( finfo_open( FILEINFO_DEVICES | FILEINFO_RAW, $magicFile ) ); 25 *** Testing finfo_open() : variations in opening ***
|
H A D | bug61964-mb.phpt | 2 Bug #61964 (finfo_open with directory cause invalid free) 10 $ret = @finfo_open(FILEINFO_NONE, $magic_file . ".non-exits私はガラスを食べられます"); 21 $ret = finfo_open(FILEINFO_NONE, $dir); 24 $ret = @finfo_open(FILEINFO_NONE, $dir); 27 $ret = @finfo_open(FILEINFO_NONE, $dir. "/non-exits-dir私はガラスを食べられます"); 35 finfo_open(FILEINFO_NONE, $dir); 61 Notice: finfo_open(): Warning: type `Me' invalid in %sbug61964-mb.php on line %d 63 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964-mb.php on line %d 65 Notice: finfo_open(): Warning: type `a' invalid in %sbug61964-mb.php on line %d 67 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964-mb.php on line %d [all …]
|
H A D | bug71527-mb.phpt | 2 Bug #71527 Buffer over-write in finfo_open with malformed magic file 11 …$finfo = finfo_open(FILEINFO_NONE, dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug71527私はガラスを食べられます… 16 Warning: finfo_open(): Failed to load magic database at '%sbug71527私はガラスを食べられます.magic'. in %sbug715…
|
H A D | bug71527.phpt | 2 Bug #71527 Buffer over-write in finfo_open with malformed magic file 11 $finfo = finfo_open(FILEINFO_NONE, dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug71527.magic"); 16 Warning: finfo_open(): Failed to load magic database at '%sbug71527.magic'. in %sbug71527.php on li…
|
H A D | cve-2014-1943-mb.phpt | 18 $fi = finfo_open(FILEINFO_NONE); 24 $fi = finfo_open(FILEINFO_NONE, $fm);
|
H A D | cve-2014-1943.phpt | 18 $fi = finfo_open(FILEINFO_NONE); 24 $fi = finfo_open(FILEINFO_NONE, $fm);
|
H A D | bug68996.phpt | 14 finfo_open(FILEINFO_MIME_TYPE, "\xfc\x63"); 22 <b>Warning</b>: finfo_open(): Failed to load magic database at '%s�c'. in <b>%sbug68996.php</b> on…
|
H A D | precedural_finfo_in_method.phpt | 8 $finfo = finfo_open(FILEINFO_MIME);
|
H A D | bug68731.phpt | 10 $finfo = finfo_open(FILEINFO_MIME_TYPE);
|
H A D | bug69320.phpt | 10 var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
|
H A D | cve-2014-3538-mb.phpt | 15 $fi = finfo_open(FILEINFO_NONE);
|
H A D | cve-2014-3538.phpt | 15 $fi = finfo_open(FILEINFO_NONE);
|
H A D | finfo_file_stream_001.phpt | 9 $fp = finfo_open(FILEINFO_MIME_TYPE);
|
H A D | finfo_close_basic.phpt | 17 $finfo = finfo_open( FILEINFO_MIME, $magicFile );
|
H A D | finfo_file_001.phpt | 8 $fp = finfo_open();
|
H A D | finfo_file_regex.phpt | 14 $finfo = finfo_open( FILEINFO_MIME, $magicFile );
|
H A D | finfo_file_002.phpt | 8 $fp = finfo_open(FILEINFO_MIME_TYPE);
|
H A D | finfo_file_basic.phpt | 14 $finfo = finfo_open( FILEINFO_MIME );
|
H A D | finfo_set_flags_basic-mb.phpt | 14 $finfo = finfo_open( FILEINFO_MIME, $magicFile );
|
/PHP-7.1/ext/fileinfo/ |
H A D | fileinfo.php | 10 $res = finfo_open(FILEINFO_MIME); /* return mime type ala mimetype extension */
|
H A D | php_fileinfo.h | 41 PHP_FUNCTION(finfo_open);
|
Completed in 25 milliseconds
12