PHP 8.5.0 RC 2 available for testing

Changelog

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

VersionFunctionDescription
8.4.0exit 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.0highlight_file The resulting HTML has changed.
highlight_string The resulting HTML has changed.
8.1.0define value can now be an object.
8.0.0constant 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.0define case_insensitive has been deprecated and will be removed in version 8.0.0.
7.2.0pack 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.1pack The "e", "E", "g" and "G" codes were added to enable byte order support for float and double.
7.1.0unpack The optional offset has been added.
7.0.15pack The "e", "E", "g" and "G" codes were added to enable byte order support for float and double.

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /