PHP中echo和print的区别

2025-05-18 18:33:30
推荐回答(1个)
回答1:

echo 和 print 的唯一不同之处是, echo 接受参数列表。

// 正常
echo 1, 2, 3;
// 错误
print 1, 2, 3;