Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97312 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17326 invoked from network); 6 Dec 2016 16:30:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2016 16:30:42 -0000 Authentication-Results: pb1.pair.com header.from=adambaratz@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=adam.baratz@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.181 as permitted sender) X-PHP-List-Original-Sender: adam.baratz@gmail.com X-Host-Fingerprint: 209.85.223.181 mail-io0-f181.google.com Received: from [209.85.223.181] ([209.85.223.181:35834] helo=mail-io0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/F3-11772-FA7E6485 for ; Tue, 06 Dec 2016 11:30:40 -0500 Received: by mail-io0-f181.google.com with SMTP id a124so661599911ioe.2 for ; Tue, 06 Dec 2016 08:30:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xjtAIciE4mo6aWbwzcXCKr5Ny1QwvBNqp6GPY9MP370=; b=XtiVcJaJPFf5vI/r43+6K/kH8GvWDUHu1Aef64/18q0hjP4NZfeG3Gk3VJ5RUOUhuv AvZ8QblHFqjBzXB0BgTv4wK1Y8loTuhpIxnZMpPzBkXS9/2ml66+F6ilBCzNHfVBkhfz ok70mwtGJA+goZeerwu3t1uGnKpPxrOSpD2/faaQEbERdjDB4RzuWx7G03opRwwTGExB fGFyDOj2eBbIKg5m4utsqFISB5peWR3tAtlaOfsWEhhoz+F7xsLMqdtcc/woSpFEAN6Q h7fsvkbld097aNMfzx2thNsgIYY707CTrhU1UMWyQo4R50cEabGpRliIm8S7NQhVpUcX Bv/w== X-Gm-Message-State: AKaTC007DZa9rPMH35vPHmdIqzez4UcPJ1J14kNXcHhUwnctPqExK2qABkaztJzq/ah18g== X-Received: by 10.36.99.68 with SMTP id j65mr3099452itc.119.1481041836534; Tue, 06 Dec 2016 08:30:36 -0800 (PST) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com. [209.85.223.182]) by smtp.gmail.com with ESMTPSA id n3sm1701822itb.2.2016.12.06.08.30.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 08:30:36 -0800 (PST) Received: by mail-io0-f182.google.com with SMTP id j65so661435366iof.0 for ; Tue, 06 Dec 2016 08:30:35 -0800 (PST) X-Received: by 10.107.16.33 with SMTP id y33mr56059714ioi.25.1481041835786; Tue, 06 Dec 2016 08:30:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.146.10 with HTTP; Tue, 6 Dec 2016 08:30:35 -0800 (PST) In-Reply-To: References: <758680d9-cfe2-4a93-3831-7aa03b4bc9db@nunninger.info> Date: Tue, 6 Dec 2016 11:30:35 -0500 X-Gmail-Original-Message-ID: Message-ID: To: Davey Shafik Cc: Benoit Schildknecht , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113f18e6850de40542ffecbc Subject: Re: [PHP-DEV] Re: [RFC] Debugging PDO Prepared Statement Emulation v2 From: adambaratz@php.net (Adam Baratz) --001a113f18e6850de40542ffecbc Content-Type: text/plain; charset=UTF-8 > > This issue is not difficult to solve in userland, at least well enough for > debugging in my experience. Here's an older example I wrote up on my blog > that worked (but I'm told is broken right now): https://daveyshafik.com/ > archives/605-debugging-pdo-prepared-statements.html > I want to be able to write .phpt tests that validate how values are getting interpolated into emulated prepares. Since this creates a separate code path, it wouldn't let me validate what gets sent to the server. PDO::quote() doesn't necessarily produce the same output as pdo_parse_params(). --001a113f18e6850de40542ffecbc--