Php/docs/class.compersisthelper

From Get docs

(PHP 5, PHP 7)

Introduction

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


Class synopsis


final COMPersistHelper {

/* Methods */

public __construct ([ variant|null $variant ] )

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|null $filename [, bool $remember = TRUE ] ) : bool

public SaveToStream ( resource $stream ) : bool

}

Table of Contents