略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: COMPersistHelper

2024-12-21

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
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.compersisthelper.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3