PHP - Manual: COMPersistHelper::GetCurFileName
2024-11-14
(PHP 5, PHP 7, PHP 8)
COMPersistHelper::GetCurFileName — Get current filename
Retrieves the current name of the file associated with the object.
此函数没有参数。
Returns the current name of the file associated with the object.
A com_exception is thrown if the associated object does not implement the COM interface IPersistFile, or when calling the IPersistFile::GetCurFile() method failed.
官方地址:https://www.php.net/manual/en/compersisthelper.getcurfilename.php