echo()语句和print()语句在PHP中有什么区别?

时间:2014-08-29 22:54:17

标签: php printing echo

<?php
print();#The Print Statement
echo();#The Echo Statement
?>

如果有人回答我的问题,我会非常感激......

1 个答案:

答案 0 :(得分:0)

print返回一个值(始终为1); echo不返回任何内容

echo将接受多个参数,print只接受一个参数

相关问题