Changelog

The following changes have been made to classes/functions/methods of this extension.

VersionFunctionDescription
8.0.0constantIf the constant is not defined, constant now throws an Error exception; previously an E_WARNING was generated, and null was returned.
 definePassing true to case_insensitive now emits an E_WARNING. Passing false is still allowed.
 ignore_user_abortenable is nullable now.
 packThis function no longer returns false on failure.
 sapi_windows_vt100_supportenable is now nullable.
 sleepThe function throws a ValueError on negative seconds; previously, an E_WARNING was raised instead, and the function returned false.
7.3.0definecase_insensitive has been deprecated and will be removed in version 8.0.0.
7.2.0packfloat and double types supports both Big Endian and Little Endian.
 unpackfloat and double types supports both Big Endian and Little Endian.
7.1.0unpackThe optional offset has been added.
7.0.15,7.1.1packThe "e", "E", "g" and "G" codes were added to enable byte order support for float and double.
7.0.0definearray values are allowed.