SplFileObject::hasChildren

(PHP 5 >= 5.1.2, PHP 7) SplFileObject does not have children public bool SplFileObject::hasChildren ( void ) An SplFileObject does not have children so this method always return FALSE. Returns: Returns FALSE See also: RecursiveIterator::hasChildren() -

SplFileObject::getMaxLineLen

(PHP 5 >= 5.1.0, PHP 7) Get maximum line length public int SplFileObject::getMaxLineLen ( void ) Gets the maximum line length as set by SplFileObject::setMaxLineLen(). Returns: Returns the maximum line length if one has been set with SplFileObject::setMaxLineLen(), default is 0. Examples: SplFileObject::getMaxLineLen() example

SplFileObject::getFlags

(PHP 5 >= 5.1.0, PHP 7) Gets flags for the SplFileObject public int SplFileObject::getFlags ( void ) Gets the flags set for an instance of SplFileObject as an integer. Returns: Returns an integer representing the flags. Examples: SplFileObject::getFlags() example <?php $file = new SplFileObject(__FILE__, "r"); if (

SplFileObject::getCurrentLine

(PHP 5 >= 5.1.2, PHP 7) Alias of SplFileObject::fgets() This method is an alias of SplFileObject::fgets().

SplFileObject::getCsvControl

(PHP 5 >= 5.2.0, PHP 7) Get the delimiter and enclosure character for CSV public array SplFileObject::getCsvControl ( void ) Gets the delimiter and enclosure character used for parsing CSV fields. Returns: Returns an indexed array containing the delimiter and enclosure character. Examples: SplFileObject::getCsvControl() example

SplFileObject::getChildren

(PHP 5 >= 5.1.0, PHP 7) No purpose public void SplFileObject::getChildren ( void ) An SplFileObject does not have children so this method returns NULL. Returns: No value is returned. See also: RecursiveIterator::getChildren() -

SplFileObject::fwrite

(PHP 5 >= 5.1.0, PHP 7) Write to file public int SplFileObject::fwrite ( string $str [, int $length ] ) Writes the contents of string to the file Parameters: str The string to be written to the file. length If the length argument is given, writing will stop after length bytes have been written or the end of string is reached, whichev

SplFileObject::ftruncate

(PHP 5 >= 5.1.0, PHP 7) Truncates the file to a given length public bool SplFileObject::ftruncate ( int $size ) Truncates the file to size bytes. Parameters: size The size to truncate to. Note: If size is larger than the file it is extended with null bytes. If size is smaller than the file, the extra data will be lost. Returns: Returns

SplFileObject::ftell

(PHP 5 >= 5.1.0, PHP 7) Return current file position public int SplFileObject::ftell ( void ) Returns the position of the file pointer which represents the current offset in the file stream. Returns: Returns the position of the file pointer as an integer, or FALSE on error. Examples: SplFileObject::ftell() example <

SplFileObject::fstat

(PHP 5 >= 5.1.0, PHP 7) Gets information about the file public array SplFileObject::fstat ( void ) Gathers the statistics of the file. Behaves identically to fstat(). Returns: Returns an array with the statistics of the file; the format of the array is described in detail on the stat() manual page. Examples: SplFileObject::fstat() e