PHP:var_dump中的颜色(Ubuntu) [英] PHP: Colors in var_dump (Ubuntu)
本文介绍了PHP:var_dump中的颜色(Ubuntu)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想看看var_dump可以附带的颜色和格式.在我的php.ini
中html_errors
设置为On
.这由phpinfo()
确认.
I'd like to see the colors and formatting that can come with var_dump. In my php.ini
html_errors
is set to On
. This is confirmed by phpinfo()
.
我的PHP版本在Ubuntu 10.10上为5.3.3.有人有主意吗?
My PHP version is 5.3.3 on Ubuntu 10.10. Anybody an idea?
推荐答案
您正在寻找 XDebug .
sudo apt-get install php5-xdebug
sudo /etc/init.d/apache2 restart
您就完成了.
这篇关于PHP:var_dump中的颜色(Ubuntu)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文