PHP Conference China 2020

The COMPersistHelper class

(PHP 5, PHP 7)

Einführung

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

Klassenbeschreibung

final COMPersistHelper {
/* Methoden */
public __construct ([ variant $com_object = NULL ] )
public GetCurFileName ( void ) : string
public GetMaxStreamSize ( void ) : int
public InitNew ( void ) : bool
public LoadFromFile ( string $path [, int $flags = 0 ] ) : bool
public LoadFromStream ( resource $stream ) : bool
public SaveToFile ([ string $filename = NULL [, bool $remember = TRUE ]] ) : bool
public SaveToStream ( resource $stream ) : bool
}

Inhaltsverzeichnis

add a note add a note

User Contributed Notes

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