Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97243 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42343 invoked from network); 2 Dec 2016 07:37:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2016 07:37:58 -0000 Authentication-Results: pb1.pair.com header.from=thomas@nunninger.info; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=thomas@nunninger.info; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nunninger.info from 87.106.55.207 cause and error) X-PHP-List-Original-Sender: thomas@nunninger.info X-Host-Fingerprint: 87.106.55.207 mail.nunninger.info Linux 2.6 Received: from [87.106.55.207] ([87.106.55.207:33736] helo=mail.nunninger.info) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/B3-01781-4D421485 for ; Fri, 02 Dec 2016 02:37:57 -0500 Received: from p5093df94.dip0.t-ipconnect.de ([80.147.223.148] helo=[192.168.178.21]) by mail.nunninger.info with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1cCiP1-0008TA-DD; Fri, 02 Dec 2016 07:37:23 +0000 To: Benoit Schildknecht , internals@lists.php.net References: Message-ID: <758680d9-cfe2-4a93-3831-7aa03b4bc9db@nunninger.info> Date: Fri, 2 Dec 2016 08:36:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) X-Spam-Several-Recipients: Yes Subject: Re: [PHP-DEV] Re: [RFC] Debugging PDO Prepared Statement Emulation v2 From: thomas@nunninger.info (Thomas Nunninger) Hi, > So, if I only want to get the emulated prepared statement, I have to do > ob_start()/ob_get_clean(), then use a regexp to fetch it ? I want v1 > back T_T I second that. Why do you print it directly? Wouldn't it be better to return a structured array with the information needed? If needed, you can var_dump() the array yourself. Regards Thomas