The following changes have been made to classes/functions/methods of this extension.
Version | Function | Description |
---|---|---|
8.4.0 | exit | exit is now a proper function, therefore it follows the usual type juggling semantics is affected by the strict_types declare, can be called with named arguments, and be a variable functions. |
highlight_string | Return type changed from stringbool to stringtrue. | |
8.3.0 | highlight_file | The resulting HTML has changed. |
highlight_string | The resulting HTML has changed. | |
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.1 | pack | The "e", "E", "g" and "G" codes were added to enable byte order support for float and double. |
7.1.0 | unpack | The optional offset has been added. |
7.0.15 | 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. |