The SplTempFileObject class
(PHP 5 >= 5.1.2, PHP 7, PHP 8)
Introduction
The SplTempFileObject class offers an object-oriented interface for a temporary file.
Class synopsis
/* Inherited constants */
/* Methods */
/* Inherited methods */
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): SplFileObjectTable of Contents
- SplTempFileObject::__construct — Construct a new temporary file object
↑ and ↓ to navigate • Enter to select • Esc to close • / to open