print_r()第二个参数为true,则将结果输出到字符串;
print_r()和var_dump()函数,参数为对象时,仅输出对象属性;
echo和var_dump()可同时输出多个数据,print_r()仅接受单数据;
print与echo除可返回1之外,与echo完全一样。
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!