The COMPersistHelper class

(PHP 5, PHP 7, PHP 8)

Introduction

COMPersistHelper improves the interoperability of COM and PHP with regard to the php.ini directive open_basedir, and stream resources.

Class synopsis

finalclassCOMPersistHelper {
public__construct(?variant$variant = null)
publicInitNew(): bool
publicLoadFromFile(string$filename, int$flags = 0): bool
publicSaveToFile(?string$filename, bool$remember = true): bool
publicSaveToStream(resource$stream): bool
}

Table of Contents

To Top