What's the difference of echo,print,print_r in PHP?

Posted by Mak on Stack Overflow See other posts from Stack Overflow or by Mak
Published on 2009-10-30T00:17:04Z Indexed on 2010/06/07 6:32 UTC
Read the original article Hit count: 265

Filed under:
|
|
|

I use echo and print_r much,almost never use print.

I feel echo is a macro,and print_r is alias of var_dump.

But that's not the standard way to explain the difference.

© Stack Overflow or respective owner

Related posts about php

Related posts about print