echoPosted on April 17th, 2009 2 comments
Output one or more strings.
Strictly speaking, echo() is not a function in PHP, it is a language construct.
echo 'Hello World!'; // => Hello World!
print 'Hello World!' # => Hello World!
2 responses to “echo”
I think “concat” is actually the real conversion for “echo”.
Please consider the following:
“puts” and “print” are -if i’m not wrong- for background usage (eg. terminal, logs, file, …)
hey my comment went corrupted!
I wanted to add in the two class fields:
if($cond) echo ‘myclass’;
concat ‘myclass’ if cond
Leave a reply