SplFixedArray::jsonSerialize
(PHP 8 >= 8.1.0)
SplFixedArray::jsonSerialize — Returns a representation that can be converted to JSON
Description
Serializes the array to a value that can be serialized natively by json_encode().
Parameters
This function has no parameters.
Return Values
Returns array data which can be serialized by json_encode(), which is a value of any type other than a resource.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
