Thursday, January 3, 2008

Difference between echo() and print()

speed:

echo() is faster than print(). Because print() behave like a function. So it set a return value. But echo() doesn't set a return value.

Parameter:

echo() can take multiple parameters. But print() can take only one parameter.

No comments: