Documented the new fileinfo external magic behaviour.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325547 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Anatol Belski 2012-05-05 10:03:17 +00:00
parent 0b26374bc9
commit 550b5e2339

View file

@ -67,6 +67,17 @@
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<warning>
<para>
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.
</para>
</warning>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>