// Try to open a handler
$filePointer = @fopen($fileName, $mode);
- if ((is_null($filePointer)) || ($filePointer === FALSE)) {
+ if ((is_null($filePointer)) || ($filePointer === false)) {
// Something bad happend
throw new FileIoException ($fileName, self::EXCEPTION_FILE_POINTER_INVALID);
} // END - if
* Write data to a file pointer
*
* @param $dataStream The data stream we shall write to the file
- * @return mixed Number of writes bytes or FALSE on error
+ * @return mixed Number of writes bytes or false on error
* @throws NullPointerException If the file pointer instance
* is not set by setPointer()
* @throws InvalidResourceException If there is being set
*
* @param $seekPosition Seek position in file
* @param $data Data to be written
- * @return mixed Number of writes bytes or FALSE on error
+ * @return mixed Number of writes bytes or false on error
* @throws UnsupportedOperationException If this method is called
*/
public function writeAtPosition ($seedPosition, $data) {
/**
* Checks wether the current entry is valid (not at the end of the file).
- * This method will return TRUE if an emptied (nulled) entry has been found.
+ * This method will return true if an emptied (nulled) entry has been found.
*
* @return $isValid Whether the next entry is valid
* @throws UnsupportedOperationException If this method is called