Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118909 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 46554 invoked from network); 28 Oct 2022 21:43:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Oct 2022 21:43:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 20439180503 for ; Fri, 28 Oct 2022 14:43:41 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 28 Oct 2022 14:43:40 -0700 (PDT) Received: by mail-vs1-f48.google.com with SMTP id 3so6365574vsh.5 for ; Fri, 28 Oct 2022 14:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HD3uK5YkuvOH0mOJXHSEfXSP3agiGzMllzLOjjOgUNA=; b=hamE2msco+x9kHpNfcxVMbK3q8NY4nJHPB+2tfb2QOjIFxI/+s2kTEVMszb8T9Iv6f Fqu2G7CAwpbH0FbzlD4Qs+EwTDqNMCR031wwV23BLp4JsL2OO6rS36rso1NF4UVYjndM EUshUffR5oy2VwxnsJfubEeSH8ztOrN2dqYEu1ZPzJrCHuVpTVHkF26Xr6noyvufbiiF 3rAcA23pYQJoo8COWc6YhQM9ywmarcLCUZFe+quPi6tQgVBCxghHZZ92fuAOJNvj37H/ aeeJbQm2FLwnFFDIT7B7IkXskzizxRzG32wo5kVWgw/avlx5Y6jcwWaflYlk53Y/P6jt +wHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HD3uK5YkuvOH0mOJXHSEfXSP3agiGzMllzLOjjOgUNA=; b=Mf1dkEkHqE1XHDU3rqnW0S9LlJkibmbTePxL9jls42QSRySsJSn01fCoZhuNw98Qrt SqiPOBdNRwB0QsqOTnGjcHbA9qHNKSSDT7nFnxKGSEaevJ7nJTov/FKBmsmUZPP+lkgR 7872r4Nd+CYlnAAfPcGQf9YLJdgaCk+RVHJKpN0Qw+MCaYvJjRiW2bWWTujzAWoy6YjE PCYEILT/csxIgWUzNBr3m2W78Ka27pBn48JNXn8TdzRXe2o2Wenq0+29HtWE56omR7PN Xzw2DNnapXqtlbDMGGHk1N9vfLJZ9fyryMiBr3AIaQ50XKShJ623twIP5uhey9zizK6s Ttxw== X-Gm-Message-State: ACrzQf1/fHwOvhmEcXm4nDhxAlIBsQYg8oGYoSzwuHbr15ksa5zmKbEr WaYOWutjOflvYVIplRgxjQAbbwqw/PMfkWmkiuE= X-Google-Smtp-Source: AMsMyM4xQN3As9NNTJEFY7HKzvfvRS7Tjhe768w5/2Etm1c2Fd7ILD76DtCo7JK0O3dAN/pItCOf48Mw8o+Kfs36LpY= X-Received: by 2002:a05:6102:f9d:b0:3aa:2ac7:608b with SMTP id e29-20020a0561020f9d00b003aa2ac7608bmr632935vsv.52.1666993420122; Fri, 28 Oct 2022 14:43:40 -0700 (PDT) MIME-Version: 1.0 References: <5ceebae4-a3fb-5d29-cdb7-dceed7b07c78@wcflabs.de> <71552420-ae73-4404-b149-49e73ec29d20@app.fastmail.com> In-Reply-To: Date: Fri, 28 Oct 2022 14:43:28 -0700 Message-ID: To: =?UTF-8?Q?Joshua_R=C3=BCsweg?= Cc: PHP internals , Larry Garfield Content-Type: multipart/alternative; boundary="000000000000a63eb805ec1f26c8" Subject: Re: [PHP-DEV] RFC [Discussion]: Randomizer Additions From: jordan.ledoux@gmail.com (Jordan LeDoux) --000000000000a63eb805ec1f26c8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Oct 28, 2022 at 12:30 PM Joshua R=C3=BCsweg via internals < internals@lists.php.net> wrote: > Hello! > > [As Larry kindly pointed out to me, I only sent the email to Larry and > not to the mailing list.] > > > "Alphabet" here still, to me, implies a character set, not a byte > stream. Maybe getBytesFromString? getBytesFromList? getBytesFrom() > (because you're getting it "from" the string that's provided, so you don'= t > need another noun there.)? > > > > I'm not opposed to the functionality, but "alphabet" doesn't seem like > the right word for it. > > I'm not really happy with the name either and was hoping for some > suggestions. `getBytesFrom` sounds incomplete to me. `getBytesFromList` > sounds to me as if an array is being passed there and not a string. > `getBytesFromString` sounds good to me, though. Better than > `getBytesfromAlphabet`! > > Cheers > > Joshua R=C3=BCsweg > Not to try and bikeshed further, but wouldn't `getBytesFromChars` or `getBytesFromCharList` be more clear while being nearly as accurate? Jordan --000000000000a63eb805ec1f26c8--