cvs: php-src /ext/fileinfo/tests mime_content_type_002.phpt
| From: | Felipe Pena | Date: | Tue, 02 Sep 2008 19:27:32 +0000 |
| Subject: | cvs: php-src /ext/fileinfo/tests mime_content_type_002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-52909@lists.php.net to get a copy of this message | ||
felipe Tue Sep 2 19:27:32 2008 UTC
Added files:
/php-src/ext/fileinfo/tests mime_content_type_002.phpt
Log:
- New test
http://cvs.php.net/viewvc.cgi/php-src/ext/fileinfo/tests/mime_content_type_002.phpt?view=markup&rev=1.1
Index: php-src/ext/fileinfo/tests/mime_content_type_002.phpt
+++ php-src/ext/fileinfo/tests/mime_content_type_002.phpt
--TEST--
mime_content_type(): Testing parameter
--FILE--
<?php
var_dump(mime_content_type(__FILE__));
var_dump(mime_content_type(fopen(__FILE__, 'r')));
var_dump(mime_content_type('.'));
var_dump(mime_content_type('./..'));
?>
--EXPECTF--
string(%d) "%s"
string(%d) "%s"
string(9) "directory"
string(9) "directory"