PDO debug_info handler
| From: | Julien Pauli | Date: | Mon, 07 Apr 2014 12:53:47 +0000 |
| Subject: | PDO debug_info handler | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-73622@lists.php.net to get a copy of this message | ||
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