Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113832 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42620 invoked from network); 28 Mar 2021 16:03:16 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Mar 2021 16:03:16 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BC4651801FD for ; Sun, 28 Mar 2021 09:00:03 -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.4 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,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-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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, 28 Mar 2021 09:00:03 -0700 (PDT) Received: by mail-ej1-f51.google.com with SMTP id u5so15704337ejn.8 for ; Sun, 28 Mar 2021 09:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xMqDz+UwPEM8KGb/b7bi2GY1ARKtcB/jqX5qUD7gVQ8=; b=saZp4H9HedJbIgSbBEN82itz0VH08reyDy4p37KxnZE0C4MwrVuRpYuWS25lREQ7Jn gv7ces1ZCANjN53Sf+VwnhT58xp2FC4lnn8HZdLlTnIwHKTD8qh0NIY8wJ7hPEXDVlhF IY2cmTPh8YNq6qwsKXHkRsFRjPPhLeEOLc9vQbGcxgBBKxzrX9eJr6wSQkoo5oRTAAKO 9lLhh6BHFNQtmTyzGbVm9rmYPu6dQmtrf534vrbvLDjI3caYXGT04/M5S8zF61lVBKor gcaoVkH92CyuYcpyO0oyrULtb1ObubImcXwtAYC5ZfgbizeGoxO08kt85TL1C9XZnFBZ N4ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xMqDz+UwPEM8KGb/b7bi2GY1ARKtcB/jqX5qUD7gVQ8=; b=MSwwrDeA8fsRpFW0v+ZQDNdppQn5MPxKfTZMsTRljXf0/ZIT8U8rzyIVhis1Bzfa3Q 3gND68yscdQStpNnWtRw9UwDs6H19fDBxLcwgOsigXera7k7vKnnZhV9lLGN0JaoOCPW 2/SF0Up9UwpOcr8NB5FaY7EB5Aqbvta0bFdyonziwhz2qHya+s0SVt7wgdn6NXMf1VOZ qCQ7/4LX/D6fxQk44Tz2n9vYj0UfGclJsxwEoqMM79ooHvR3DqdgAVdBWnwbBUNKLirW uQ1bjnxVrfrwXfVgSNBhlvIWLh3rKB5N/NQy8ES2+sfxguKyMGm8RD4/5wVO+OeGQ/z5 UPQw== X-Gm-Message-State: AOAM530usNaPM4GohXp9WzNCaIXkBy4OD7cRWfEbo2SFZe1OvPir8nPK robjZqfcc5UJ49GvexDeJ3DBlTzF3vQdQaJXUtVsGTuaJ3wDIw== X-Google-Smtp-Source: ABdhPJwzEtPesU42iAzeHRHCZIrTQYYjO8grJz/+Q3lKhtGsx4Uy1ooWkKb7ij/YdtXGu7rAjKfQR/QpZrvtOkh1F3g= X-Received: by 2002:a17:907:9862:: with SMTP id ko2mr24200080ejc.222.1616947199249; Sun, 28 Mar 2021 08:59:59 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 28 Mar 2021 16:59:50 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="0000000000006e8f8205be9adb9a" Subject: [RFC] Add fetch_column method to mysqli From: tekiela246@gmail.com (Kamil Tekiela) --0000000000006e8f8205be9adb9a Content-Type: text/plain; charset="UTF-8" Hi Internals, I have written a new proposal in the series of improvements to mysqli extension. This one aims to add a new method mysqli_result::fetch_column as well as its functional counterpart. https://wiki.php.net/rfc/mysqli_fetch_column The RFC is very simple, but I am looking for your opinions. I also have doubts about the scope. Is the scope too limited? Should it involve a change to fetch_all as well? On the implementation part, I wonder if it could be optimized. The one I have written works but doesn't look like the most efficient way to do this. Kind Regards, Kamil Tekiela --0000000000006e8f8205be9adb9a--