Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130555 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 5EFB11A00BC for ; Fri, 3 Apr 2026 18:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1775239996; bh=ahKThDIBjmTvtmCiUiGQQzEfSVtV3gz07ECHzTcSiGM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=k5xctM4JTdhqYpNZEhKkeNiuOy/GSs0WQlT2ciKA4jVenWLo8JotB22RR6aYHK88D FGMqxP9xY42XsctX2v4z3SJFam5RR377ESaVflzLsmDJTNU1saV9B1ptAo8Mwd0913 eMLbIY8ArfrHXM5HetKazdK/eDM9ZVyjus3rFKR9Ffb8LGJpQDRJLnbd8EeIo/2/47 Gc48Cap/0QOw9YOvfrDk5PIpz4iuMUGHtoAMavaxZ3pdlmaQ6/9DjdEMQOaf5QkCtd lCh68plrVUlC9Why1IK45KZa+hltwv7jlXVDXPx46ocQ2PuGMAZK444DcGIMZilFFT bA3PMjXQqsEqA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 18056180077 for ; Fri, 3 Apr 2026 18:13:16 +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=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 18:13:15 +0000 (UTC) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-488895ad947so24932075e9.3 for ; Fri, 03 Apr 2026 11:13:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775239989; cv=none; d=google.com; s=arc-20240605; b=BhUG98MVfTttrgR+AR1ao0RuGj4+soNMzrJi0MA6L4NwHYBbocUIPBjfvty3hXCwNZ QNirSweKWwUvp7mbxW7KgnUy+YgYeOTX3DcAvzymYtReMvdaf5HPGk641PGkU2sC47Dq rNneh2ACG82Q7DpfV7gsvqZkAi8AqhjEAVNBcExCSdnmqOVaoVgkyAk6uHOHRyE0+llV JUDEM6JDk4TdTcqkb4vVZQU3BokflntqllIah/rvwAJtW1BMqAlhf0tsxqagdXyzzo7A eMZsFNPsDLQEjHdtc1UuQNohTqAXwwhbQD+0gcOM9UoDTwz7xBtl+TBZoWtHjnWy1pI8 fsoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=xW+BZJR0xuAHpeTxZVJvDopcRc5LiPyVpUAhI2kwa8w=; fh=JM5bdcvc7jQuQm4PImE1VK+LH1UYA1HynghRbH+btIs=; b=Z4CM0sTODHU31fBgD2x34blfzopxSYMlR+icpf6zCCLyA9DpxGOsysShzgqSsxn5US S+s9KQRssK2NpUcP0Eq/OsKEsQhM0GiogABG4mlfINmZ/ws7Jur/haunJNaK7P62b45v fwtSABpb2rK1m7HVipuVN3/0F8XeSMDSFI81ybpZuieZfO3FvUMZgA1FsbLOGY+wHaTy MXkre2ovKUncskYC0PlcSf14Y0znMK9KacDw9vFO4KmgmEuI4upOBfAo7w7tD+W6DjZl Eq2smaw2I2OA++z3y381eham/9cG0mlH/g3f3J0i1xnEs2jJPZJznRAvebMdfMSgfizX 4tfg==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilia.ws; s=google; t=1775239989; x=1775844789; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xW+BZJR0xuAHpeTxZVJvDopcRc5LiPyVpUAhI2kwa8w=; b=Y5OLUOxAWo9XFXn1wtNiRh+o62UA823939lFvr5zFeMCbYyfQfpBmuZ6ClovG7pQa2 dRFDjqSybTom6CRBUBhtzKtpAgtIUm1yT4FJk4OjC1dCM3ArktORKPPHEDLQr/ey+yUh R2uVvBo9w5NSzpk5jPh+DkCvBfmAdwqgM3QGKKlSkj+/VKKM1hf88pDHB5OBuB7zG+MT 1qcD2V45ES3xmQpRz3P6U3P1hV4NOw9s0h5xTX++Mmx6k542hfur2Uuk11gANDcZ8xGM RCdyDTUNF/ThwO38mV6OsmGDHsxljXwXRaPE7OywqPoaY9OrXfpmnNfOJCDVimUyRPoG qCMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775239989; x=1775844789; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xW+BZJR0xuAHpeTxZVJvDopcRc5LiPyVpUAhI2kwa8w=; b=F+EIlf61EogSpDCu0ibdiZRjmwvvRcpXFq0xOOp0Ap9N5v5d1xtFQwCeruVaY8uu4X PvY5PrY0UP4JNHaVLcofWvRrKJvafv/c7ETFmDQdoy2Xcj2B4JiXQe+5oIob8EjRqK5u 6HDQMbCiV0FTN3qo5C/gAcps2cSsMtNel+asLKj9IoM9LjwuSD/ME5TuhhNo735wP0Jf m45z6MDKIvV7zV5mxdnSisjV0nPcXrS8UNg0/ssDSYP3Tqnq1Jn7w+WrLTxl/54NVeTX bLWyQlfwIqkTVvgObcpQUu5sW0aidbDJEb830RHs4WdGoPaziUpUHyEN0QTcOkS2DK9Z Yq3Q== X-Gm-Message-State: AOJu0Yzj7DE513zd/84Vl4AaeVP7xuA55P42I3kth7TWYbDoQvjt3UI9 vP6ptjaSeXLjf0Cqj+k0a6ailyM1/dBj9ROG4oAWMkjtzW8CzCOmd5qltrxt+o4j0n9JK9dRh55 aURd0RPthzB2DkLruO7mOXFXv0IiXWtJl7zgG8LHzlk5w2kMp2dGTrA== X-Gm-Gg: ATEYQzypN3KPo6saPimizrQdNwAjhr2gfPtsJq0guXkhAp0j9oXk7qsI484WHC9DSP7 wqAkDEX8mIQMLj5zfK2zyqcEp9IT7n5sRflbQlf+pfDekCg9F9HW4/3X5cICnQ1CLxulk0e+wPD YyZewit9hHcqIaPbMWHZMwTmneO/ROiZbwmL7wh0jMVUCRJLAVBtJccko4xU3Ovf6NJZqwBGM7K cTR8xwG3gbphtr8M9qKNEOq2L7+MMaQiXHgoKvkJWhi1+kinxY0MZQ4oLtOe6gfICQeA3/bbG0r g8GAR81LJj6vp6a6yHGki6RgYRrxQEYFKVQLI7o/igckvOKcU6XP6Ry+Nl3tD8jeEZEm X-Received: by 2002:a05:600c:8710:b0:485:5ba3:37d8 with SMTP id 5b1f17b1804b1-488996b0589mr73171175e9.5.1775239988714; Fri, 03 Apr 2026 11:13:08 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <4d8d56c4522430326d796e240b24cdd2@glaive.pro> In-Reply-To: <4d8d56c4522430326d796e240b24cdd2@glaive.pro> Date: Fri, 3 Apr 2026 14:12:56 -0400 X-Gm-Features: AQROBzBSJvUyPiMJVLUwtdNsbKff6FWgwBVyTjyW3sTFsmu45FtJw5xwBF0x_g4 Message-ID: Subject: Re: [PHP-DEV] PDO SQLite: statement attributes for SQL text retrieval To: Juris Evertovskis Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="000000000000eb2e30064e924441" From: ilia@ilia.ws (Ilia) --000000000000eb2e30064e924441 Content-Type: text/plain; charset="UTF-8" > But two things here are unclear to me: > - What's insufficient with `->queryString` and other existing features? > Does one of these overlap with `->queryString` or not? > The output of ATTR_SQL and queryString are essentially the same; ATTR_EXPANDED_SQL is the novelty that gives you access to the resolved prepared statement. So the ATTR_SQL is there mostly for completion, if ever something changes in terms of how PHP does pre-prepare handling this could have utility. - What's so special about SQLite? Wouldn't the same need be just as present > for any other driver? > > Nothing special, just that it provides library functionality to get this data programmatically. -- Ilia Alshanetsky Technologist, CTO, Entrepreneur E: ilia@ilia.ws T: @iliaa B: http://ilia.ws --000000000000eb2e30064e924441 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

But two things= here are unclear to me:
- What's insufficient with `->queryStrin= g` and other existing features? Does one of these overlap with `->queryS= tring` or not?

The output of=C2=A0ATTR_SQL a= nd=C2=A0queryString are essentially the same; ATTR_EXPANDED_SQL is the nove= lty that gives you access to the resolved prepared statement.=C2=A0 So the = ATTR_SQL is there mostly for completion, if ever something changes in terms= of how PHP does pre-prepare handling this could have utility.

-=C2=A0What's so = special about SQLite? Wouldn't the same need be just as present for any= other driver?


Nothing special, just that it provides li= brary functionality to get this data programmatically.=C2=A0=C2=A0

--
Ilia AlshanetskyTechnologist, CTO, Entrepreneur
T: @iliaa=C2=A0
B: http://ilia.ws
--000000000000eb2e30064e924441--