src/Arrays.php
public function without($array)
    {
        $values = func_get_args();
        unset($values[0]);

        if ($values) {
            foreach ($values as $value) {
                unset($array[array_search($value, $array)]);
            }
        }

        return $array;
    }
public function without($array)
    {
        $values = func_get_args();
        unset($values[0]);

        if ($values) {
            foreach ($values as $value) {
                unset($array[array_search($value, $array)]);
            }
        }

        return $array;
    }
public function without ( $ array ) { $ values = func_get_args ( ) ; unset ( $ values [ 0 ] ) ; if ( $ values ) { foreach ( $ values as $ value ) { unset ( $ array [ array_search ( $ value , $ array ) ] ) ; } } return $ array ; }
Produces a new version of the array that does not contain any of the specified values

@param array $array
@return array
Produces a new version of the array that does not contain any of the specified values