Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130553 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 517091A00BC for ; Fri, 3 Apr 2026 17:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1775235820; bh=uVp7DT6C03yiAUbxOe7W2JxjoMYwFpiU4rSRQki5dmo=; h=Subject:From:In-Reply-To:Cc:Date:References:To:From; b=Xl2xzVAn7X1OCa6clHQG5l3EQOw2/xIyG03nTMTBzG/nDJ0i+I3MqrwvumJ4nfToN yhUHc0PCQpBNWO8zan6YC0k3c4c2S7Jf8Vb0YPXCXyEoyJY/LPtmNOvzL6tLs36IEu ZPZhAJgxiHTy7+HzWa6WpNzSFiy/+tugnF1TkDrfJmM3QJQ+CA5ELUni8xbXZoI2sG 0ifkN/wlR/rAX1gM0+T2cztVXlhp2A8d7dR8O2iCNHwjCP3O71TRoGAKpczZqvpGa3 YXqjCHtBSn+G8+KB6ykyDM8UBM83RXFRw4QLTejIZJyvCENNcTwc6pd7hWuMCSVfwm DuVnGiUrfVNEQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C8728180078 for ; Fri, 3 Apr 2026 17:03:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) 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,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 3 Apr 2026 17:03:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1775235812; bh=uVp7DT6C03yiAUbxOe7W2JxjoMYwFpiU4rSRQki5dmo=; h=Subject:From:In-Reply-To:Cc:Date:References:To:From; b=SRHL1dmVoUwvUjvobDY/6s9vqdFdPZLccjGewDOt3QJIpZIO9HRWFC8EDbq2gab/i sAiVbN5oUIG6cmqmWLwIEDXYoZWWj50CODxoiJ+oOdRXzS5XsZ4EBMFM0gMoyal7xM HHqAQ7dATghW7L/w/s4XO/o9LDWcgwKfP/PiHQbA= Received: from smtpclient.apple (madb688d19.ap.nuro.jp [219.104.141.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id 0014B4019C; Sat, 4 Apr 2026 02:03:31 +0900 (JST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow Mime-Version: 1.0 (1.0) Subject: Re: [PHP-DEV] PDO SQLite: statement attributes for SQL text retrieval In-Reply-To: Cc: Kamil Tekiela , internals@lists.php.net, saki@php.net Date: Sat, 4 Apr 2026 02:03:19 +0900 Message-ID: References: To: Ilia X-Mailer: iPhone Mail (23D8133) From: saki@sakiot.com (Saki Takamachi) > Technically yes, but practically I think the complexity of that approach w= ould likely outweigh its utility, hence the current approach. OK I see, thank you. I do not think there is much room left for discussion regarding the implemen= tation approach. As for demand, I tried the following search on GitHub code search: ``` /(?-i)->getSQL\(true/ language:PHP ``` It returns roughly 500 hits (although, of course, there is no guarantee that= all of them are from the SQLite3 extension). Looking through the code at a high level, it seems to be used mainly for SQL= reuse and debugging. It is certainly possible to log the SQL before binding and the parameters to= be bound separately, but being able to retrieve the actually assembled SQL m= ay still be convenient. Regards, Saki=