I agree with not using var_dump(). Every PHP developer should be using XDebug as an interactive debugger. Works great both on PHPStorm and VS Code.
Although working with Laravel I often resort to using dump() and dd() since they provide a lot of useful information fast. Having a good unit test coverage will also reveal secret dumps since they get printed on the standard output.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I agree with not using
var_dump()
. Every PHP developer should be using XDebug as an interactive debugger. Works great both on PHPStorm and VS Code.Although working with Laravel I often resort to using
dump()
anddd()
since they provide a lot of useful information fast. Having a good unit test coverage will also reveal secret dumps since they get printed on the standard output.