Annotation of embedaddon/php/ext/fileinfo/tests/mime_content_type_002.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: mime_content_type(): Testing parameter
                      3: --SKIPIF--
                      4: <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
                      5: --FILE--
                      6: <?php
                      7:        
                      8: var_dump(mime_content_type(__FILE__));
                      9: var_dump(mime_content_type(fopen(__FILE__, 'r')));
                     10: var_dump(mime_content_type('.'));
                     11: var_dump(mime_content_type('./..'));
                     12: 
                     13: ?>
                     14: --EXPECTF--
                     15: string(%d) "%s"
                     16: string(%d) "%s"
                     17: string(9) "directory"
                     18: string(9) "directory"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>