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

From: Date: Fri, 02 Dec 2016 07:36:55 +0000
Subject: Re: Re: [RFC] Debugging PDO Prepared Statement Emulation v2
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-97243@lists.php.net to get a copy of this message
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

« previous php.internals (#97243) next »