Home > Backend Development > PHP Tutorial > 使用var_dump打印出现问题

使用var_dump打印出现问题

WBOY
Release: 2016-06-23 13:35:29
Original
1115 people have browsed it

<small>string</small> <font>'D:\workspace\p'</font> <i>(length=44)</i>  <br> 
Copy after login
<small>boolean</small> <font>true</font>  <br> 
Copy after login
Copy after login
Copy after login
<small>boolean</small> <font>true</font>  <br> 
Copy after login
Copy after login
Copy after login
<small>boolean</small> <font>false</font>  <br> 
Copy after login
<small>boolean</small> <font>true</font>  <br> 
Copy after login
Copy after login
Copy after login


回复讨论(解决方案)

说说你遇到了什么

说说你遇到了什么


就是用var_dump 打印函数的的返回值(bool值)然后出现如上的情况,抱歉!没说清楚

输出了你写的整段话,还是true这里边的true值?


不是很正常吗?

var_dump输出的时候好像会自动加

  <p class="sougouAnswer">  目测 应该是你正在使用xdebug   var_dump  会自动的帮你加上样式显示. </p> <p class="sougouAnswer">  </p><p class="yy">   目测 应该是你正在使用xdebug   var_dump  会自动的帮你加上样式显示.  </p>我想起来,应该是我开启了xdebug调试功能  <p class="sougouAnswer">  谢谢各位,关闭php.ini 中的xdebug调试选项就OK了 </p>
Copy after login
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template