public static function strModified($target, Closure $callback)
    {
        $modified = $callback($target);

        return md5($target) !== md5($modified);
    }
public static function strModified($target, Closure $callback)
    {
        $modified = $callback($target);

        return md5($target) !== md5($modified);
    }
public static function strModified ( $ target , Closure $ callback ) { $ modified = $ callback ( $ target ) ; return md5 ( $ target ) !== md5 ( $ modified ) ; }
Checks whether string has been modified

@param string $target Input string
@param \Closure $callback Comparison function
@return boolean
Checks whether string has been modified