public static function exact($expected, $actual, bool $strict = true): bool
    {
        $expected = self::normalize($expected);
        $actual = self::normalize($actual);

        if ($strict) {
            return $expected === $actual;
        }

        return $expected == $actual;
    }
public static function exact($expected, $actual, bool $strict = true): bool
    {
        $expected = self::normalize($expected);
        $actual = self::normalize($actual);

        if ($strict) {
            return $expected === $actual;
        }

        return $expected == $actual;
    }
public static function exact ( $ expected , $ actual , bool $ strict = true ) : bool { $ expected = self :: normalize ( $ expected ) ; $ actual = self :: normalize ( $ actual ) ; if ( $ strict ) { return $ expected === $ actual ; } return $ expected == $ actual ; }
Does the actual value match the expected value?

@param array $expected
@param $actual
@param bool $strict
@return bool
Does the actual value match the expected value?