From: Christoph M. Becker Date: Mon, 8 Aug 2016 16:43:33 +0000 (+0200) Subject: Add test for bug #69107: finfo no longer detects PHP files X-Git-Tag: php-5.6.26RC1~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=243d5fcb1f070025fa19a5e31a3d8d64c8d1a1e6;p=php Add test for bug #69107: finfo no longer detects PHP files --- diff --git a/ext/fileinfo/tests/bug69107.phpt b/ext/fileinfo/tests/bug69107.phpt new file mode 100644 index 0000000000..9a7b26b5d1 --- /dev/null +++ b/ext/fileinfo/tests/bug69107.phpt @@ -0,0 +1,22 @@ +--TEST-- +Bug #69107 (finfo no longer detects PHP files) +--SKIPIF-- + +--FILE-- +buffer("buffer("buffer("buffer(" +===DONE=== +--EXPECT-- +string(10) "text/x-php" +string(10) "text/x-php" +string(10) "text/x-php" +string(10) "text/x-php" +===DONE===