Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117586 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 88284 invoked from network); 24 Apr 2022 10:59:06 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 24 Apr 2022 10:59:06 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E1151180511 for ; Sun, 24 Apr 2022 05:33:50 -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=-0.7 required=5.0 tests=BAYES_05,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-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) (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 ; Sun, 24 Apr 2022 05:33:50 -0700 (PDT) Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-2ebf4b91212so124522837b3.8 for ; Sun, 24 Apr 2022 05:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mix7l/n2FIDi7O6QRKbAi7gVRWbfOzMNnuCi2Qsa4DI=; b=PtA/LaVznF6f0dW5Tk7GZJpnh062TDUEmyIObKm+w06eHZp/gFvzOY0tgEKWOut2HO AR0mg20w65qCnxvZjdOCAFWKvSyFcCG78OMgqLjM1xRVyfcv8+FBpx0A4weAnH87FqZ0 PCyitGE5DEsEuuqo513LXWYwXwvXLxxyWHlBTHrltbIAEthEOoEuuznSUAxht51PaTW7 4eyTSQZtcr48aBV7V/B5JlfUZ4XELgwXe0Qag+sUUgL4xl0zgjFEuN55RkP4lj6LWlV+ 9Yb2f0FHtrShhtcn/VfUIlBWKXQTbObccaRM+J9sOg85ZmnxvR5jDwB4uGgRVr7B1lay Fcvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mix7l/n2FIDi7O6QRKbAi7gVRWbfOzMNnuCi2Qsa4DI=; b=zY3eLhKEiVnNuZkmmuuKBWkg9Svm2+a35cqEYtPAR6dPltXSlNMj10JQ5YSIKv1M0g 79vieVluSjb9Sj4GunrlCHBMJ7ERhxkvFIy4K9OBRRO0Dpd4MjCjtktXir5o+NPZay6Z //WshnrT5tYBorEuQqyvWF1n3zlQl8EVKusfMgL7jw2h24+IvsEbqfHWovVI3ltoAdIP cn6LGodm8a07vb7xYPxZrIOGabMEecBiFRg2kFBrbeU4J3Diu+wM6rSS5uDE1vughIk7 MTirrhlE20Hq8HWD6a7wMlBpYq/7wbCSVV7lA6OQD1tZXm6wmQr3rwX0h3jGUA2dS1Fg JcVg== X-Gm-Message-State: AOAM533C7Z9nIl6tfgMCsLfcUycsZSNxdXJkRDV0mSC4tTeZil2yzk13 1MUThyNy92UdgEPCmOtak+EB5r2z9PHje0C58+Y= X-Google-Smtp-Source: ABdhPJzEld0mESxtB+47NS/tZb9NmCiCHthM+AOo7BvFtlHTZaVE3UJzx0CozS2R8lRcpHJCnbk2UoiNRwaNQEjuFaQ= X-Received: by 2002:a81:5b0b:0:b0:2ec:3514:ac0d with SMTP id p11-20020a815b0b000000b002ec3514ac0dmr12480863ywb.343.1650803630118; Sun, 24 Apr 2022 05:33:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 24 Apr 2022 14:33:38 +0200 Message-ID: To: mickmackusa Cc: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000f79b6505dd65ab5e" Subject: Re: [PHP-DEV] Discussion before submission of array_transpose() RFC From: ocramius@gmail.com (Marco Pivetta) --000000000000f79b6505dd65ab5e Content-Type: text/plain; charset="UTF-8" Hey, I find it interesting that you linked https://github.com/josefernandotrindade/array_transpose/blob/master/transpose.php Wouldn't it be better to take that, brush it up (with some tests and benchmarks), and release it as a packagist library? Alternatively, adding it to a high quality library such as https://github.com/azjezz/psl I personally don't see a reason to have this in core, let alone implemented in C. P.S.: sorry for dropping all the quoted messages, but ML just reported that your message contained a lot of additional markup, and therefore my previous message got rejected. Marco Pivetta https://twitter.com/Ocramius https://ocramius.github.io/ --000000000000f79b6505dd65ab5e--