The following changes have been made to classes/functions/methods of this extension.
Version | Function | Description |
---|---|---|
8.0.0 | constant | If the constant is not defined, constant now throws an Error exception; previously an E_WARNING was generated, and null was returned. |
define | Passing true to case_insensitive now emits an E_WARNING. Passing false is still allowed. | |
ignore_user_abort | enable is nullable now. | |
pack | This function no longer returns false on failure. | |
sapi_windows_vt100_support | enable is now nullable. | |
sleep | The function throws a ValueError on negative seconds; previously, an E_WARNING was raised instead, and the function returned false. | |
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. |