This release improves compatibility with WordPress, enhances performance, and adds some interoperability features.
New functions
filter_var_array
fputcsv
with correct parameters- stream_context_create() with params argument
- PHP 8.2 PCRE support for the n option
- spread array operator
Interoperabiity
- Support for using CLR events with PHP callable (https://docs.peachpie.io/net/type-system/#c-event)
- AssemblyAttribute MSBuild property.
get_
/set_
method automatically synthesizes a CLR property with the same name
Optimizations
- string evaluation uses much less allocations
version_compare()
is without allocationsglob
uses less allocations- overload resolution using named arguments: better compile time method binding, avoids some dynamic calls in run-time.
Fixes
- Diagnostic for
printf
with more than 9 arguments checks the arguments correctly.