FFI\CData can now be assigned to structs and fields as of PHP 8.3.0.
Note:
Notable limitations are that FFI\CData instances do not support
isset(), empty() and unset(),
and that wrapped C structs and unions do not implement Traversable.
Class synopsis
namespaceFFI;
finalclassCData
{
}
Changelog
Version
Description
8.3.0
FFI\CData can now be assigned to structs and fields.