几乎没什么区别
我喜欢用
echo...比较容易打

解决方案 »

  1.   

    我也习惯用echo 
    print 有返回值,,,,echo 无返回值
      

  2.   

    echo
    (PHP 3, PHP 4 )echo -- Output one or more strings
    Description
    void echo ( string arg1 [, string argn...])
    Outputs all parameters. echo() is not actually a function (it is a language construct) so you are not required to use parentheses with it. In fact, if you want to pass more than one parameter to echo, you must not enclose the parameters within parentheses. /////////////////////////////////////////////////////////////print
    (PHP 3, PHP 4 )print -- Output a string
    Description
    int print ( string arg)
    Outputs arg. Returns 1, always. print() is not actually a real function (it is a language construct) so you are not required to use parentheses with its argument list. 
      

  3.   

    print还可以用来做输出判断吧。
      

  4.   

    以前喜欢用print("xxx");现在发现echo "xxxx";其实也好用。
      

  5.   

    用法上还是用一点区别的:
    echo的使用格式是:
        echo "$str_1,$str_2,...,$str_3";
    使用上最灵活,也最常用。
    而print的使用格式是:
        print ($str);
    用法和echo大体相同。
      

  6.   

    echo常用。print通常用来打大量数据的时候用。而且print("xxx");可以写成print (xxx);不用引号也可以喔。
      

  7.   

    在 echo 函数中,可以同时输出多个字符串,而在 print 函数中则只可以同时输出一个字符串。同时,echo函数并不需要圆括号,所以echo函数更像是语句而不像是函数
      

  8.   

    我习惯用echo "..............."; 用起来方便,不过print 还行
      

  9.   

    print_r($test)可以打出数组里的每一项
    echo $test 如果是数组的话,只能出现Array所以,在数组情况下,使用print
    一般情况下,使用echo
    呵,个人这么用
      

  10.   

    echo 是 PHP
    print 是 来源C
    其实都无所谓拉
      

  11.   

    两个差不多而已 都可以 
    我都用 echo "";