2.0.1
Informations
- This brnach (v2.x) is for PHP 5 and before. Do download v3.x branch for PHP 7/8
- The Package name has been changed to mod_filebin to mod_magic from 2.0.1
- The filebin function has been changed to filemagic.
- Function Proto Type is not changed.
- filebin function is still available for legacy.
- To the 1st argument to the filemagic function, you can input buffer data using the "DATA:" prefix instead of the file path.
$buf = filemagic ('DATA:' . file_get_content ('/some/path/image.jpg'));
Changes
- confirmed PHP 5.6
- enhanced build environment (#1, #3, #7)
- enhanced argument order of filemagic function (#4)
- enhanced Warning messages (#5)
- change package name to mod_magic from mod_filebin (#6)
- change return type of filemagic function (#8)
- support check buffer (#9)
- support filebin for previous compability (#10)