// Some pre-sanity checks...
if (is_null($fileName)) {
// No filename given
- throw new FileIsEmptyException(null, self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
+ throw new FileIsEmptyException(NULL, self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
} // END - if
// Try to open a handler
$filePointer = @fopen($fileName, $mode);
- if (($filePointer === null) || ($filePointer === false)) {
+ if (($filePointer === null) || ($filePointer === FALSE)) {
// Something bad happend
throw new FileIoException ($fileName, self::EXCEPTION_FILE_POINTER_INVALID);
} // END - if