Releases: OOPS-ORG-PHP/mod_magic
Releases · OOPS-ORG-PHP/mod_magic
3.0.2
Informations
- This brnach (v3.x) is for PHP 7 and after. Do download v2.x branch for PHP 5 and before.
- The Package name has been changed to mod_filebin to mod_magic from 3.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
- Support PHP 8.1
3.0.1
Informations
- This brnach (v3.x) is for PHP 7 and after. Do download v2.x branch for PHP 5 and before.
- The Package name has been changed to mod_filebin to mod_magic from 3.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
- Support PHP 8
- remove useless code (#1)
- confim to support until PHP 8.0 (#3)
- enhanced argument order of filebin function (#4)
- enhanced Warning messges (#5)
- change package name to mod_magic from mod_filebin (#6)
- improved usage documents (#7)
- change return type of filemagic function (#8)
- suport check buffer (#9)
- support filebin function for previous compability (#10)
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)