The COMPersistHelper class

The COMPersistHelper class

(PHP 5, PHP 7, PHP 8)

簡介

COMPersistHelper improves the interoperability of COM and PHP with regard to the php.ini directive open_basedir, and stream 資源(resource)s.

類摘要

final class COMPersistHelper {
/* 方法 */
public __construct(?variant $variant = null)
public GetCurFileName(): string|false
public GetMaxStreamSize(): int
public InitNew(): bool
public LoadFromFile(string $filename, int $flags = 0): bool
public LoadFromStream(resource $stream): bool
public SaveToFile(?string $filename, bool $remember = true): bool
public SaveToStream(resource $stream): bool
}

目錄

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *