zoukankan      html  css  js  c++  java
  • [转]Solution for PHP xdebug not formatting / overloading var_dump()

    If any of you have ever experienced a problem with xdebug non displaying var_dump() with the nice overload method it includes, especially when using PHP 5.3, you may try the following:

    1. Open your php.ini file
      (for instance located in /etc/php5/apache2/php.ini)
    2. Locate the line that says html_errors = Off
    3. Change it in html_errors = On
    4. Restart your webserver (/etc/init.d/apache2 restart for instance)

    If you didn’t change anything in the configuration of xdebug, overload_var_dumps should be already enabled and you should get var_dumps like the following :

    object(stdClass)[1]
      public 'Brand' => 

    string

     'BMW' (length=3)
      public 'Model' => 

    string

     'M3' (length=2)
    Be Sociable, Share!
  • 相关阅读:
    nuc970连接jlink进行单步调试的设置
    alsa utils工具使用
    用arm-linux-gcc v4.3.4交叉编译Qt4.8.3
    LNMP分离式部署
    MHA(下)
    MHA(上)
    PXE自动装机
    JumpServer
    FTP
    DNS
  • 原文地址:https://www.cnblogs.com/zaric/p/2581497.html
Copyright © 2011-2022 走看看