Le mar. 17 juin 2025 à 23:22, Larry Garfield a
écrit :
> On Tue, Jun 17, 2025, at 2:54 PM, Braunson Yager wrote:
> > Hi internals,
> >
> > I'd like to gauge interest in adding two debugging functions to PHP
> > core: dd() and dump().
> >
> > *Background*
> > Currently, developers rely on userland
> 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 probabl
On 6/17/25 9:54 PM, Braunson Yager wrote:
I'd like to gauge interest in adding two debugging functions to PHP core: dd()
and dump().
Going out of your way to deliberately conflict with two very popular
userland function names is a bad idea.
*Enhanced Features Over Existing Solutions
*- Nat
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.
On Tue, Jun 17, 2025, at 2:54 PM, Braunson Yager wrote:
> Hi internals,
>
> I'd like to gauge interest in adding two debugging functions to PHP
> core: dd() and dump().
>
> *Background*
> Currently, developers rely on userland solutions like Laravel's dd()
> helper or Symfony's VarDumper for enha
Hi internals,
I'd like to gauge interest in adding two debugging functions to PHP core:
dd() and dump().
*Background*
Currently, developers rely on userland solutions like Laravel's dd() helper
or Symfony's VarDumper for enhanced debugging output. These tools are
widely adopted across the PHP eco