Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112045 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 75411 invoked from network); 13 Oct 2020 16:18:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 Oct 2020 16:18:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 06AFE1804C0 for ; Tue, 13 Oct 2020 08:33:47 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 13 Oct 2020 08:33:46 -0700 (PDT) Received: by mail-pj1-f67.google.com with SMTP id h4so65726pjk.0 for ; Tue, 13 Oct 2020 08:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ZieQyCfRd2bUeDDdlF1X8CSUu7FOSHyUg2vj+iqgBeI=; b=YaOQZb8odReTWiINA2O2i1v6M4k7dm8xBkl/8v66HaQ+IX6fWcFuziQYUx6HV8ncsy T563JimehhrR7fbdc8f4/Roi875FmYVsBAMFcY4rHB/v6BprsTw/GmFnID+iXIoUHBtu 9cl6Cp+luoNYfyMZEKPvEs91swtUp4eIBs/5IAMB9nB5I9Q3ncDQHb5WuStb6lwCpeLc gTip+zKsoA7XH/R2YEiBryTjQrYEXjrwSzzNB0FHr7NeuPVvlfNeQ40+wymuZuHK/dTi jDSpYzgG6Zty7gA9tKbhW9MJ7G2TOccUWSRfVX5SWB5JGsr/VvZipOko3In1aUKrTGVN OSNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ZieQyCfRd2bUeDDdlF1X8CSUu7FOSHyUg2vj+iqgBeI=; b=EiHP2yLtlcEG/46pfTw1yLauKrzGxjQFBcs3Yey20QDGLg+oxS1SQh6J5wpItdyCql MabS/g8XU6Dbj4t3RtaaOa7r7Zz2EbiOFvufDbDdMAQ+AIotInQnLqMZr8CvDFQqOKCi ZyW132clvNsRzW2feewaeNFYqDbl+rXpf+kY8TucyEp7/LMJp9G4WAvNPLpUXA0M1BPo a8Rnm08BA9tP7k6+foAIrqhyNR6qBB/CRx1qNK9Lkfy1vKOLK3T9x+aTIqISADVI3cXL sXidg15HL0umAJwsSfleud+AxoyGR2OKZW+k3AtBMKKUMbUvG1kwjUKHdnGbMQAYQFWU R66w== X-Gm-Message-State: AOAM530caP6xV/CyhsG9G/u1R2s/KUjkqFQQWU/3VMlYJbG8JNlQE36i cGceDWwSMVDGGHRgaW20no6rPFoWwIvJRATgbKcW7/m6gn2/5Q== X-Google-Smtp-Source: ABdhPJxa++lfIVHsN01cvN6+YfEEwxNE5iI9UlB7afBMTUmi2jyMBBlGdNpo+PNtCiHFdAYu1MHMGbLrQKPoCnpsvl8= X-Received: by 2002:a17:90a:aa90:: with SMTP id l16mr333830pjq.0.1602603224136; Tue, 13 Oct 2020 08:33:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 13 Oct 2020 17:33:32 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Re: want an Object-oriented interface for HashContext From: divinity76@gmail.com (Hans Henrik Bergan) PS there might be some good reason for the hash_final() api really being final that i'm not aware of (not that i'm aware of any reason at all, pun not intended) also the sample class in the 3v4l link has an issue i hadn't thought of: i wanted to support method chaining, so i made nearly everything return `:self` , but hash_update_stream() returns int, the number of bytes actually read from the stream. that could easily be fixed with a `updateStream($stream, int $length = -1, int &$bytesRead = null):self` or something tho On Tue, 13 Oct 2020 at 14:04, Rowan Tommins wrote: > > On Tue, 13 Oct 2020 at 10:43, Hans Henrik Bergan > wrote: > > > i know this is unrelated to the thread at hand, but am i really > > supposed to find the email of everyone who has replied to a thread, > > and add them all manually to cc? > > > > > Nope, just the mailing list address should be fine; everyone sending to the > list should also be subscribed to it. Indeed, I tend to remove all CCs from > my replies whenever I remember. > > I suspect the reason you'll see a lot of CCs is that most mail clients only > have "reply" (which would often miss the list completely) and "reply to > all" (which accumulates CCs), and no "reply to list" (which would pick up > the list address from an appropriate header and ignore everything else). > > Regards, > -- > Rowan Tommins > [IMSoP]