RE: External Message: Re: [PHP-DEV] Pre-RFC: dd() and dump() functions for PHP core
| From: | Jeffrey Dafoe | Date: | Wed, 18 Jun 2025 16:49:16 +0000 |
| Subject: | RE: External Message: Re: [PHP-DEV] Pre-RFC: dd() and dump() functions for PHP core | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127712@lists.php.net to get a copy of this message | ||
> While I understand that dd is a valid way of debugging PHP code, I don't think we should
> encourage this. Users should be encouraged to learn how to use proper debugger like XDebug. Plus PHP
> has plenty of dumping functions already and I see no need for yet another one.
One could probably, easily, write a userland script that accomplished dd() via the XDebug protocol.
-Jeff