Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117558 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42256 invoked from network); 21 Apr 2022 12:30:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Apr 2022 12:30:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 686F81804A9 for ; Thu, 21 Apr 2022 07:04:37 -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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 ; Thu, 21 Apr 2022 07:04:37 -0700 (PDT) Received: by mail-lj1-f182.google.com with SMTP id n17so5877233ljc.11 for ; Thu, 21 Apr 2022 07:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=QneNdI3SAhE6DKVlqiyyIaGN97YMeLkjLXz+PBQ4muo=; b=CQeSVRdCVhTIJriHOQE3XMLhathXa4S5HMcJzdv16zC2NYcF/9ZmNnL8S5DsgjZLqd sa6MneJNGrTGjbGzo5ITrXatKcCqL1/EddXT1WIZFtIFkVuZ0dtAdtDCQydagCzx3Cmr v5YXgONeM2ZtZqFtNQ8PjPqsVhDz23cYvffm8= 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; bh=QneNdI3SAhE6DKVlqiyyIaGN97YMeLkjLXz+PBQ4muo=; b=zryNwl3TfXNgSqm830bDl9stKKfJEthcGtVxXfZmABG22cqbdp+W5zaWvQl3xm0zHy 162smq/gGF5YmRD9oGjVNX5fSbMaJjKsKvyXQ19+H321pZ5RPxPTUVyUTck3Xj1z0nfV Q3WYiJUHBX2RSaoCubWJEYJ0T06jaGmX/ZH45cHRY+h35NCF6oJTJ4HQjmWSM7MCJSDI DUQpdwD7A1Me9hkAj8lbtdNrDGrXYaq4T3ZWS5kt+bNPHxh1Jwn/pXDlk/+dNjrxI8Sk F60OQmIlFhSP756K0Hawd5IT0fGFOnVaqB/WrhSDzZs9Lo896A8OPCnkocc74KRW4QEx FgxQ== X-Gm-Message-State: AOAM5334kbq+ECa/FjhynjZ3FPrnjuDMonbWFi0CjtktzcMr0govAFJV ERLQWccxXT8Ax0KtyWFOHn4C3SXRQ7B1ubajDLuy/kGVD7M= X-Google-Smtp-Source: ABdhPJwuhwAxpotfzeIFYCIIN7Lg1E18Y7L/BQP/cU1M6E3KDcpr+DqQLUzDB0dzH5MVvp1ToZa9HlZ63Sng8u4ZGO4= X-Received: by 2002:a2e:9ec5:0:b0:24b:536b:7e28 with SMTP id h5-20020a2e9ec5000000b0024b536b7e28mr17167165ljk.120.1650549875290; Thu, 21 Apr 2022 07:04:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 21 Apr 2022 15:04:24 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="00000000000000501005dd2a97b8" Subject: Re: MySQLi Execute Query RFC From: craig@craigfrancis.co.uk (Craig Francis) --00000000000000501005dd2a97b8 Content-Type: text/plain; charset="UTF-8" On Wed, 6 Apr 2022 at 17:38, Craig Francis wrote: > Kamil has been working on a proof of concept for a > `mysqli_execute_query($sql, $params)` function, and I've written up a draft > RFC for it: > > https://wiki.php.net/rfc/mysqli_execute_query > > It's continuing the work Kamil has done with the "mysqli bind in execute" > RFC [1], to make parameterised MySQLi queries even easier, by creating a > single function that takes the SQL and Parameters and > returns mysqli_result|false. > > While this can be implemented in userland, the focus is on trying to make > parameterised queries as easy as possible, so developers are less less > likely to use risky escaping. > Just officially Introducing and putting this RFC in the "Under Discussion" phase. Craig --00000000000000501005dd2a97b8--