php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
SplTempFileObject Class Reference
Inheritance diagram for SplTempFileObject:
SplFileObject SplFileInfo RecursiveIterator SeekableIterator Stringable Iterator Iterator Traversable Traversable

Public Member Functions

 __construct (int $maxMemory=2 *1024 *1024)
 
- Public Member Functions inherited from SplFileObject
 __construct (string $filename, string $mode="r", bool $useIncludePath=false, $context=null)
 
 rewind ()
 
 eof ()
 
 valid ()
 
 fgets ()
 
 fread (int $length)
 
 fgetcsv (string $separator=",", string $enclosure="\"", string $escape="\\")
 
 fputcsv (array $fields, string $separator=",", string $enclosure="\"", string $escape="\\", string $eol="\n")
 
 setCsvControl (string $separator=",", string $enclosure="\"", string $escape="\\")
 
 getCsvControl ()
 
 flock (int $operation, &$wouldBlock=null)
 
 fflush ()
 
 ftell ()
 
 fseek (int $offset, int $whence=SEEK_SET)
 
 fgetc ()
 
 fpassthru ()
 
 fscanf (string $format, mixed &... $vars)
 
 fwrite (string $data, int $length=0)
 
 fstat ()
 
 ftruncate (int $size)
 
 current ()
 
 key ()
 
 next ()
 
 setFlags (int $flags)
 
 getFlags ()
 
 setMaxLineLen (int $maxLength)
 
 getMaxLineLen ()
 
 hasChildren ()
 
 getChildren ()
 
 seek (int $line)
 
 getCurrentLine ()
 
 __toString ()
 
- Public Member Functions inherited from SplFileInfo
 __construct (string $filename)
 
 getPath ()
 
 getFilename ()
 
 getExtension ()
 
 getBasename (string $suffix="")
 
 getPathname ()
 
 getPerms ()
 
 getInode ()
 
 getSize ()
 
 getOwner ()
 
 getGroup ()
 
 getATime ()
 
 getMTime ()
 
 getCTime ()
 
 getType ()
 
 isWritable ()
 
 isReadable ()
 
 isExecutable ()
 
 isFile ()
 
 isDir ()
 
 isLink ()
 
 getLinkTarget ()
 
 getRealPath ()
 
 getFileInfo (?string $class=null)
 
 getPathInfo (?string $class=null)
 
 openFile (string $mode="r", bool $useIncludePath=false, $context=null)
 
 setFileClass (string $class=SplFileObject::class)
 
 setInfoClass (string $class=SplFileInfo::class)
 
 __debugInfo ()
 
 _bad_state_ex ()
 

Additional Inherited Members

- Data Fields inherited from SplFileObject
const int DROP_NEW_LINE = UNKNOWN
 
const int READ_AHEAD = UNKNOWN
 
const int SKIP_EMPTY = UNKNOWN
 
const int READ_CSV = UNKNOWN
 

Detailed Description

Definition at line 336 of file spl_directory.stub.php.

Constructor & Destructor Documentation

◆ __construct()

SplTempFileObject::__construct ( int $maxMemory = 2 * 1024 * 1024)

Definition at line 338 of file spl_directory.stub.php.


The documentation for this class was generated from the following file: