diff --git a/ext/fileinfo/tests/finfo_extension_flag.phpt b/ext/fileinfo/tests/finfo_extension_flag.phpt new file mode 100644 index 00000000000..fdecef31ee1 --- /dev/null +++ b/ext/fileinfo/tests/finfo_extension_flag.phpt @@ -0,0 +1,18 @@ +--TEST-- +Test FILEINFO_EXTENSION flag +--SKIPIF-- +file(dirname(__FILE__) . "/resources/test.jpg", FILEINFO_EXTENSION)); + +?> +===DONE=== +--EXPECT-- +string(17) "jpeg/jpg/jpe/jfif" +===DONE=== +