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
$separator
= ",", string $enclosure
= "\"", string $escape
= "\\"): array|falsearray
$fields
,string
$separator
= ",",string
$enclosure
= "\"",string
$escape
= "\\",string
$eol
= "\n"): int|false
$separator
= ",", string $enclosure
= "\"", string $escape
= "\\"): void$mode
= "r", bool $useIncludePath
= false
, ?resource $context
= null
): SplFileObjectTable of Contents
- SplTempFileObject::__construct — Construct a new temporary file object