(PHP 5 >= 5.1.2, PHP 7, PHP 8)
The SplTempFileObject class offers an object-oriented interface for a temporary file.
$maxMemory
$separator
$enclosure
$escape
$allowable_tags
$operation
&$wouldBlock
null
$fields
$eol
$length
$format
&...$vars
$offset
$whence
SEEK_SET
$size
$data
$line
$flags
$maxLength
$suffix
$class
$mode
$useIncludePath
false
$context
SplFileObject::class
SplFileInfo::class