Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73622 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26932 invoked from network); 7 Apr 2014 12:54:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2014 12:54:33 -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.172 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.220.172 mail-vc0-f172.google.com Received: from [209.85.220.172] ([209.85.220.172:57974] helo=mail-vc0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/90-21811-600A2435 for ; Mon, 07 Apr 2014 08:54:31 -0400 Received: by mail-vc0-f172.google.com with SMTP id la4so5308592vcb.3 for ; Mon, 07 Apr 2014 05:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=P+9U1+jFcnumsX1IkfNzdMG+PGevd2u4Lfmz7foPOKc=; b=UdmLHbDEm8BxtBMm2vxRiYG5toN2eD9evY/XbxzPrwJGVRO3RjJF6oTbhSPtdNWr+z jzkPRikYVVlxDjV30mczED703eOi6/j4qBW1YkYR4DyD/rLtdyeiWTRIfP3ZsAgpQIRq oRitMAk4ctHxVx6UD1qlcbdU0M5ugfBFaz1p7ZB70AWBDQXLZUloyuKnqZ8SZxmh9UyK DYrV8XjdIYiZLFy0h3kZKdK4atn6N1mAiEXXhBEdmiffQuwgRSVPzgQ0L63z+19+J8c1 m8DTkbiEc3REX/fkuea4ka4G3ZuFdMfIwl6mUXSiaVbqnm+p+3EY4wN5nSJadsSfBTHJ tgnw== X-Received: by 10.52.3.129 with SMTP id c1mr151036vdc.37.1396875267422; Mon, 07 Apr 2014 05:54:27 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.220.81.68 with HTTP; Mon, 7 Apr 2014 05:53:47 -0700 (PDT) Date: Mon, 7 Apr 2014 14:53:47 +0200 X-Google-Sender-Auth: RP-TNG04pafn9aFj6g-DEDNMFa8 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: PDO debug_info handler From: jpauli@php.net (Julien Pauli) 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 ? Julien Pauli