Re: Re: [RFC] Debugging PDO Prepared Statement Emulation v2

From: Date: Tue, 06 Dec 2016 16:30:35 +0000
Subject: Re: Re: [RFC] Debugging PDO Prepared Statement Emulation v2
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-97312@lists.php.net to get a copy of this message
> > 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().

« previous php.internals (#97312) next »