php学习笔记2 echo 和 print语句的区别 1、echo 可以输出一个或多个字符串; 2、print 只允许输出一个字符串,返回值总为 1; 3、echo 输出的速度比 print 快; 4、echo 没有返回值,print 有返回值 1;