felipe Tue Sep 2 19:28:21 2008 UTC
Added files: (Branch: PHP_5_3)
/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"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php