Php/docs/changelog.misc
From Get docs
Changelog
The following changes have been made to classes/functions/methods of this extension.
Version | Function | Description |
---|---|---|
7.3.0 | define | case_insensitive has been deprecated and will be removed in version 8.0.0. |
7.2.0 | pack | float and double types supports both Big Endian and Little Endian. |
unpack | float and double types supports both Big Endian and Little Endian. | |
7.1.0 | unpack | The optional offset has been added. |
7.0.15,7.1.1 | pack | The "e", "E", "g" and "G" codes were added to enable byte order support for float and double. |
7.0.0 | define | array values are allowed. |
5.6.3 | pack | The "q", "Q", "J" and "P" codes were added to enable working with 64-bit numbers. |
5.5.0 | pack | The "Z" code was added with equivalent functionality to "a" for Perl
compatibility. |
unpack | Changes were made to bring this function into line with Perl:
The "a" code now retains trailing NULL bytes. The "A" code now strips all trailing ASCII whitespace (spaces, tabs, newlines, carriage returns, and NULL bytes). The "Z" code was added for NULL-padded strings, and removes trailing NULL bytes. |