// Try to open a handler
$filePointer = @fopen($fileName, $mode);
- if (($filePointer === null) || ($filePointer === FALSE)) {
+ if ((is_null($filePointer)) || ($filePointer === FALSE)) {
// Something bad happend
throw new FileIoException ($fileName, self::EXCEPTION_FILE_POINTER_INVALID);
} // END - if