(PHP 5 >= 5.1.2)
The SplTempFileObject class offers an object oriented interface for a temporary file.
$filename
[, string $open_mode
= "r"
[, bool $use_include_path
= false
[, resource $context
]]] )$delimiter
= ","
[, string $enclosure
= "\""
[, string $escape
= "\\"
]]] )$fields
[, string $delimiter
= ","
[, string $enclosure
= '"'
]] )$delimiter
= ","
[, string $enclosure
= "\""
[, string $escape
= "\\"
]]] )