Does xdebug beautify var_dump?

后端 未结 2 398
我寻月下人不归
我寻月下人不归 2021-01-01 17:22

According to this article, http://devzone.zend.com/article/2803, var_dump is supposed to beautify the outputs.

I have installed xdebug on my local host with PHP Vers

相关标签:
2条回答
  • 2021-01-01 17:57

    You can also use a custom tool called Kint instead of var_dump.

    It's effortless to install and use with almost any PHP project. Right off the bat, it's just more readable and pretty, but has lots of advanced features which you'll gradually appreciate.

    enter image description here

    0 讨论(0)
  • 2021-01-01 18:17

    You need to have html errors turned on in your php config as well

    0 讨论(0)
提交回复
热议问题