php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
__construct (int $maxMemory=2 *1024 *1024) | |
![]() | |
__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 () | |
![]() | |
__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 | |
![]() | |
const int | DROP_NEW_LINE = UNKNOWN |
const int | READ_AHEAD = UNKNOWN |
const int | SKIP_EMPTY = UNKNOWN |
const int | READ_CSV = UNKNOWN |
Definition at line 336 of file spl_directory.stub.php.
SplTempFileObject::__construct | ( | int | $maxMemory = 2 * 1024 * 1024 | ) |
Definition at line 338 of file spl_directory.stub.php.