The SplTempFileObject class
(PHP 5 >= 5.1.2, PHP 7, PHP 8)
簡介
The SplTempFileObject class offers an object-oriented interface for a temporary file.
類摘要
class SplTempFileObject
extends
SplFileObject
{
/* 繼承的常量 */
/* 方法 */
/* 繼承的方法 */
public SplFileObject::fgetcsv(string
$separator
= ",", string $enclosure
= "\"", string $escape
= "\\"): array|falsepublic SplFileObject::fputcsv(
array
string
string
string
string
): int|false
array
$fields
,string
$separator
= ",",string
$enclosure
= "\"",string
$escape
= "\\",string
$eol
= "\n"): int|false
public SplFileObject::setCsvControl(string
$separator
= ",", string $enclosure
= "\"", string $escape
= "\\"): voidpublic SplFileInfo::openFile(string
}$mode
= "r", bool $useIncludePath
= false
, ?resource $context
= null
): SplFileObject目錄
- SplTempFileObject::__construct — Construct a new temporary file object