La classe COMPersistHelper

(PHP 5, PHP 7, PHP 8)

Introduction

COMPersistHelper améliore l'interopérabilité de COM et PHP en ce qui concerne la directive php.ini open_basedir, et les resources de stream.

Synopsis de la classe

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

Sommaire

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top