PHP - Manual: COMPersistHelper::SaveToStream
2025-02-27
(PHP 5, PHP 7, PHP 8)
COMPersistHelper::SaveToStream — Save object to stream
Saves an object to the specified stream.
stream
A com_exception is thrown if the associated object does neither implement the COM interface IPersistStream nor IPersistStreamInit, or when calling the IPersistStream::Save() method failed.
官方地址:https://www.php.net/manual/en/compersisthelper.savetostream.php