Blogger Information
Blog 12
fans 0
comment 0
visits 6648
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
array数组学习第四课-php学习第x+3课
虎哥的学习日志
Original
438 people have browsed it

echo 只能输出标量,一个值,不能输出数组和对象

print_r()格式化输出值,加参数true,输出到字符串

var_dump()输出类型和值,可以输出更多信息

通常使用print_r()即可满足,有时需要使用var_dump()

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post