PHP 8.4.2 Released!

Changelog

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

VersionFunctionDescription
8.4.0exitexit 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_stringReturn type changed from stringbool to stringtrue.
8.3.0highlight_fileThe resulting HTML has changed.
 highlight_stringThe resulting HTML has changed.
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.1packThe "e", "E", "g" and "G" codes were added to enable byte order support for float and double.
7.1.0unpackThe optional offset has been added.
7.0.15packThe "e", "E", "g" and "G" codes were added to enable byte order support for float and double.
7.0.0definearray values are allowed.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top