PHP - Manual: COMPersistHelper::GetMaxStreamSize
2024-12-22
(PHP 5, PHP 7, PHP 8)
COMPersistHelper::GetMaxStreamSize — Get maximum stream size
Retrieves the size of the stream (in bytes) needed to save the object.
此函数没有参数。
Returns the size of the stream (in bytes) needed to save the object.
A com_exception is thrown if the associated object does neither implement the COM interface IPersistStream nor IPersistStreamInit, or when calling the IPersistStream::GetSizeMax() method failed.
官方地址:https://www.php.net/manual/en/compersisthelper.getmaxstreamsize.php