private static function compareContents($filePath, $newContent)
    {
        if (file_exists($filePath)) {
            $currentContent = file_get_contents($filePath);
            return strcmp($currentContent, $newContent) === 0;
        }

        return false;
    }
private static function compareContents($filePath, $newContent)
    {
        if (file_exists($filePath)) {
            $currentContent = file_get_contents($filePath);
            return strcmp($currentContent, $newContent) === 0;
        }

        return false;
    }
private static function compareContents ( $ filePath , $ newContent ) { if ( file_exists ( $ filePath ) ) { $ currentContent = file_get_contents ( $ filePath ) ; return strcmp ( $ currentContent , $ newContent ) === 0 ; } return false ; }
Compares file contents

@param $filePath
@param $newContent
@return bool
@internal
Compares file contents