From 550b5e2339d69c86079e8effcb48d49d7d5d67f7 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sat, 5 May 2012 10:03:17 +0000 Subject: [PATCH] Documented the new fileinfo external magic behaviour. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325547 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/fileinfo/functions/finfo-open.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/reference/fileinfo/functions/finfo-open.xml b/reference/fileinfo/functions/finfo-open.xml index 608de3abd0..c3d84667d5 100644 --- a/reference/fileinfo/functions/finfo-open.xml +++ b/reference/fileinfo/functions/finfo-open.xml @@ -67,6 +67,17 @@ + + &reftitle.notes; + + + As of PHP >= 5.3.11 and >= 5.4.1 the magic datababase format has changed. Due to this, the internal mime database was upgraded. This affects especially the code where external magic is read in. Reading in magic files of the older formats will not work. + + Also, some textual representations of the mime types has changed, for instance for PHP would be "PHP script, ASCII text" instead of "PHP script text" returned. + + + + &reftitle.examples;