application/Espo/Core/Utils/Util.php
public static function isEquals($var1, $var2)
    {
        if (is_array($var1)) {
            static::ksortRecursive($var1);
        }
        if (is_array($var2)) {
            static::ksortRecursive($var2);
        }

        return ($var1 === $var2);
    }
public static function isEquals($var1, $var2)
    {
        if (is_array($var1)) {
            static::ksortRecursive($var1);
        }
        if (is_array($var2)) {
            static::ksortRecursive($var2);
        }

        return ($var1 === $var2);
    }
public static function isEquals ( $ var1 , $ var2 ) { if ( is_array ( $ var1 ) ) { static :: ksortRecursive ( $ var1 ) ; } if ( is_array ( $ var2 ) ) { static :: ksortRecursive ( $ var2 ) ; } return ( $ var1 === $ var2 ) ; }
Check if two variables are equals

@param  mixed  $var1
@param  mixed  $var2
@return boolean
Check if two variables are equals