search

Home  >  Q&A  >  body text

When using Wampserver as the running environment, write the var_dump function, and the browser will automatically display the php file path. Is it caused by xdebug? How to deal with it?

klerkler2741 days ago1161

reply all(2)I'll reply

  • nearest

    nearest2017-07-25 20:18:59

    It is the cause of xdebug

    Solution:

    set the overload_var_dump parameter of the xdebug item in php.ini

    to 0 to turn off var_dump optimization,

    to 1 to turn on optimization,

    to 2 to turn on more optimizations, including display files name

    reply
    1
  • PHP中文网

    PHP中文网2017-07-03 09:33:12

    wamp is not used much, it is recommended to use our latest integrated environment, php programmer toolbox, http://tool.php.cn

    reply
    0
  • Cancelreply