/PHP-8.1/ext/standard/tests/file/windows_mb_path/ |
H A D | test_readdir_mb_names.phpt | 47 echo "filename: $file : filetype: " . filetype($dirw . $file) . "\n"; 61 filename: . : filetype: dir 62 filename: .. : filetype: dir 64 filename: tschüß : filetype: file 65 filename: tschüß3 : filetype: dir 66 filename: Voláçao : filetype: file 67 filename: Voláçao3 : filetype: dir 69 filename: š.txt : filetype: file 70 filename: żółć : filetype: dir 73 filename: привет : filetype: file [all …]
|
H A D | bug64699.phpt | 35 $type = filetype($path); 38 … echo "filetype()[".str_pad($type, 4)."] == is_dir()[".str_pad($type2, 4)."] -> $comp: {$file}\n"; 53 filetype()[dir ] == is_dir()[dir ] -> OK: . 54 filetype()[dir ] == is_dir()[dir ] -> OK: .. 55 filetype()[dir ] == is_dir()[dir ] -> OK: a 56 filetype()[dir ] == is_dir()[dir ] -> OK: şŞıİğĞ 57 filetype()[dir ] == is_dir()[dir ] -> OK: ソ 58 filetype()[dir ] == is_dir()[dir ] -> OK: ゾ 59 filetype()[dir ] == is_dir()[dir ] -> OK: 多国語 60 filetype()[dir ] == is_dir()[dir ] -> OK: 表
|
H A D | util.inc | 118 if (filetype($dir . DIRECTORY_SEPARATOR . $object) == "dir")
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | filetype_error.phpt | 2 Test filetype() function: Error conditions 7 print( filetype("/no/such/file/dir") ); 10 print( filetype("string") ); 11 print( filetype(100) ); 17 Warning: filetype(): Lstat failed for /no/such/file/dir in %s on line %d 19 Warning: filetype(): Lstat failed for string in %s on line %d 21 Warning: filetype(): Lstat failed for 100 in %s on line %d
|
H A D | filetype_basic.phpt | 2 Test filetype() function: Basic functionality 5 echo "*** Testing filetype() with files and dirs ***\n"; 7 print( filetype(__FILE__) )."\n"; 8 print( filetype(".") )."\n"; 13 *** Testing filetype() with files and dirs ***
|
H A D | filetype_variation.phpt | 2 Test filetype() function: Variations 11 echo "*** Testing filetype() with various types ***\n"; 23 print( filetype($file1) )."\n"; 24 print( filetype($file2) )."\n"; 29 print( filetype($link1 ) )."\n"; 33 print( filetype($link2) )."\n"; 42 print( filetype("$file_path/filetype_variation") )."\n"; 47 print( filetype( $file3) )."\n"; 56 *** Testing filetype() with various types ***
|
H A D | filetype_variation2.phpt | 2 Test filetype() function: Check character type 17 print( filetype("/dev/null") )."\n";
|
H A D | filetype_variation3.phpt | 2 Test filetype() function: Check block device 17 print( filetype("/dev/ram0") )."\n";
|
H A D | 001.phpt | 63 echo "test.file is " . filetype('test.file') . "\n"; 64 echo "test.link is " . filetype('test.link') . "\n";
|
H A D | 001-win32-mb.phpt | 47 echo "$fname is " . filetype($fname) . "\n";
|
H A D | 001-win32.phpt | 44 echo "test.file is " . filetype('test.file') . "\n";
|
/PHP-8.1/tests/security/ |
H A D | open_basedir_filetype.phpt | 8 test_open_basedir("filetype"); 16 *** Testing open_basedir configuration [filetype] *** 23 Warning: filetype(): open_basedir restriction in effect. File(../bad) is not within the allowed pat… 26 Warning: filetype(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the all… 29 Warning: filetype(): open_basedir restriction in effect. File(..) is not within the allowed path(s)… 32 Warning: filetype(): open_basedir restriction in effect. File(../) is not within the allowed path(s… 35 Warning: filetype(): open_basedir restriction in effect. File(/) is not within the allowed path(s):… 38 Warning: filetype(): open_basedir restriction in effect. File(../bad/.) is not within the allowed p… 41 Warning: filetype(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within th… 47 Warning: filetype(): open_basedir restriction in effect. File(./../.) is not within the allowed pat… [all …]
|
/PHP-8.1/ext/zlib/tests/ |
H A D | zlib_scheme_stat_basic2.phpt | 20 echo "filetype="; 21 var_dump(filetype($srcFile)); 35 filetype= 36 Warning: filetype(): Lstat failed for compress.zlib://%s004.txt.gz in %s on line %d
|
/PHP-8.1/ext/standard/ |
H A D | image.c | 1404 if ( !filetype) filetype = tmp; in php_getimagetype() 1411 if (!memcmp(filetype, php_sig_gif, 3)) { in php_getimagetype() 1413 } else if (!memcmp(filetype, php_sig_jpg, 3)) { in php_getimagetype() 1415 } else if (!memcmp(filetype, php_sig_png, 3)) { in php_getimagetype() 1420 if (!memcmp(filetype, php_sig_png, 8)) { in php_getimagetype() 1426 } else if (!memcmp(filetype, php_sig_swf, 3)) { in php_getimagetype() 1428 } else if (!memcmp(filetype, php_sig_swc, 3)) { in php_getimagetype() 1430 } else if (!memcmp(filetype, php_sig_psd, 3)) { in php_getimagetype() 1432 } else if (!memcmp(filetype, php_sig_bmp, 2)) { in php_getimagetype() 1441 if (!memcmp(filetype+8, php_sig_webp, 4)) { in php_getimagetype() [all …]
|
H A D | php_image.h | 54 PHPAPI int php_getimagetype(php_stream *stream, const char *input, char *filetype);
|
H A D | filestat.c | 1054 FileFunction(PHP_FN(filetype), FS_TYPE) in FileFunction()
|
H A D | basic_functions.stub.php | 1196 function filetype(string $filename): string|false {} function
|
H A D | basic_functions_arginfo.h | 2597 ZEND_FUNCTION(filetype); 3238 ZEND_FE(filetype, arginfo_filetype)
|
/PHP-8.1/ext/phar/tests/ |
H A D | stat2_5.3.phpt | 23 var_dump(is_link("testit/link"), filetype("testit/link"), filetype("testit"), is_file("testit/link"…
|
H A D | stat.phpt | 45 echo "filetype\n"; 46 var_dump(filetype("dir/file1.txt")); 207 filetype
|
/PHP-8.1/ext/exif/ |
H A D | exif.c | 1935 image_filetype filetype; member 2894 switch(ImageInfo->Thumbnail.filetype) { in exif_thumbnail_build() 3394 ImageInfo->Thumbnail.filetype = ImageInfo->FileType; in exif_process_IFD_TAG_impl() 3397 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_TIFF_MM; in exif_process_IFD_TAG_impl() 3403 if (ImageInfo->Thumbnail.filetype == IMAGE_FILETYPE_UNKNOWN) { in exif_process_IFD_TAG_impl() 3404 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_JPEG; in exif_process_IFD_TAG_impl() 3682 if (ImageInfo->Thumbnail.filetype != IMAGE_FILETYPE_UNKNOWN in exif_process_IFD_in_JPEG() 4213 if (ImageInfo->Thumbnail.filetype != IMAGE_FILETYPE_UNKNOWN in exif_process_IFD_in_TIFF_impl() 4450 ImageInfo->Thumbnail.filetype = IMAGE_FILETYPE_UNKNOWN; in exif_read_from_impl() 4683 …exif_iif_add_int(&ImageInfo, SECTION_COMPUTED, "Thumbnail.FileType", ImageInfo.Thumbnail.filetype); in PHP_FUNCTION() [all …]
|
/PHP-8.1/sapi/apache2handler/ |
H A D | sapi_apache2.c | 636 if (r->finfo.filetype == 0) { in php_handler() 641 if (r->finfo.filetype == APR_DIR) { in php_handler()
|
/PHP-8.1/ext/phar/ |
H A D | func_interceptors.c | 1021 PHAR_INTERCEPT(filetype); in phar_intercept_functions_init() 1057 PHAR_RELEASE(filetype); in phar_intercept_functions_shutdown()
|
/PHP-8.1/ext/fileinfo/tests/ |
H A D | magic | 746 # https://cconcolato.github.io/mp4ra/filetype.html 21170 >>12 belong x filetype=%d 34673 >>>9 byte x Corel Shell: Unknown filetype %d 34681 >>>9 byte x Corel Notebook: Unknown filetype %d 34696 >>>9 byte x Corel Calendar: Unknown filetype %d 34740 >>>9 byte x Corel Mail: Unknown filetype %d 34745 >>>9 byte x Corel Printer: Unknown filetype %d 34752 >>>9 byte x Corel Scheduler: Unknown filetype %d 34774 >>>9 byte x Corel Terminal: Unknown filetype %d 34803 >>>9 byte x GroupWise: Unknown filetype %d [all …]
|
H A D | magic私はガラスを食べられます | 746 # https://cconcolato.github.io/mp4ra/filetype.html 21170 >>12 belong x filetype=%d 34673 >>>9 byte x Corel Shell: Unknown filetype %d 34681 >>>9 byte x Corel Notebook: Unknown filetype %d 34696 >>>9 byte x Corel Calendar: Unknown filetype %d 34740 >>>9 byte x Corel Mail: Unknown filetype %d 34745 >>>9 byte x Corel Printer: Unknown filetype %d 34752 >>>9 byte x Corel Scheduler: Unknown filetype %d 34774 >>>9 byte x Corel Terminal: Unknown filetype %d 34803 >>>9 byte x GroupWise: Unknown filetype %d [all …]
|