public static function except(array $input, $excluded = [])
    {
        Arguments::define(Boa::arrOf(Boa::either(
            Boa::string(),
            Boa::integer()
        )))->check($excluded);

        return Std::filter(function ($_, $key) use ($excluded) {
            return !in_array($key, $excluded);
        },
            $input);
    }
public static function except(array $input, $excluded = [])
    {
        Arguments::define(Boa::arrOf(Boa::either(
            Boa::string(),
            Boa::integer()
        )))->check($excluded);

        return Std::filter(function ($_, $key) use ($excluded) {
            return !in_array($key, $excluded);
        },
            $input);
    }
public static function except ( array $ input , $ excluded = [ ] ) { Arguments :: define ( Boa :: arrOf ( Boa :: either ( Boa :: string ( ) , Boa :: integer ( ) ) ) ) -> check ( $ excluded ) ; return Std :: filter ( function ( $ _ , $ key ) use ( $ excluded ) { return ! in_array ( $ key , $ excluded ) ; } , $ input ) ; }
Get a copy of the provided array excluding the specified keys.

@param array $input
@param array $excluded

@throws InvalidArgumentException
@return array
Get a copy of the provided array excluding the specified keys .