Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73687 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53285 invoked from network); 14 Apr 2014 13:47:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Apr 2014 13:47:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.181 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.220.181 mail-vc0-f181.google.com Received: from [209.85.220.181] ([209.85.220.181:53583] helo=mail-vc0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/F0-45969-EE6EB435 for ; Mon, 14 Apr 2014 09:47:27 -0400 Received: by mail-vc0-f181.google.com with SMTP id id10so7328866vcb.26 for ; Mon, 14 Apr 2014 06:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=xSaFGtbmNelcUHviur+zikcZ+pk3h04hl8Qg0YXyG3A=; b=z0vnaowTeb0iIUbGokuG9unMcCaP+hybbIGLCuccFtFU+yUw3jfMmccQoiTNRltXyE NFcQGE6/7I87YONh71duwwFPPbu5FBd6j27/K1MNTw3v1cznTcIk/Ch95foapO6R6GHr fthL3qRLDvT+OqMkKbmcRZO+up5DRTU5goDMkCtDiVxOAaeJclYA9dpcn429VRBXsCSu y+4e31LPTfqDa5Rul0UurAnC7q0GybOqcu6mD7NBMRLOE7LuiymilGSnBZ/4YvAnS5mZ T1YlK872uSRJ0RbDQIZCty3jxGOgNJE22wp7A6IV3uXDn8tqFvRUprHNiRmlKNfIYGC/ 8ipw== X-Received: by 10.221.20.199 with SMTP id qp7mr2358693vcb.24.1397483243480; Mon, 14 Apr 2014 06:47:23 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.220.81.68 with HTTP; Mon, 14 Apr 2014 06:46:43 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 Apr 2014 15:46:43 +0200 X-Google-Sender-Auth: DNt2QGCMcgd71QW9oK4joM0goCA Message-ID: To: PHP Internals , =?UTF-8?Q?Johannes_Schl=C3=BCter?= Content-Type: text/plain; charset=UTF-8 Subject: Re: PDO debug_info handler From: jpauli@php.net (Julien Pauli) On Mon, Apr 7, 2014 at 2:53 PM, Julien Pauli wrote: > Hey, > > I noticed PDO has no debug_info handler. > > This is always asked by developpers to have informations about > internal state while var_dump()ing objects as calling getAttribute() > can be weird sometimes when you need all info at once. > Note that PDOStatement has a (light) handler. > > I started an implementation, here : > https://github.com/jpauli/php-src/tree/pdo_debug_info > > The hardest part is missing, aka, retrieving driver specific informations. > I'll do this soon. > > Thoughts ? > Johannes, perhaps you 've been asked in past about such a feature ? I added some driver info. Can't go further safely without redesigning the API. Julien Pauli