For printing out strings, there are echo, print and printf.
Explain the differences.
Answer Posted / coder
echo is a language construct(You can see we don't use
paranthesis for echo).echo does not return any value. print
is also a language construct but it returns an integer
value. printf is a function..... echo is considered fast
than print
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Why namespace is used in php?
What is data abstraction in php?
Explain what does the expression exception::__tostring means?
What is faster?
How check submit button is clicked in php?
What are the popular content management systems (cms) in php?
Tell me when a conditional statement is ended with an endif?
Explain about getters and setters in php?
What is isset in php form?
Can you use both this () and super () in a constructor?
What is php key?
What is the difference between associative array and indexed array?
Difference between get and post method.
Does php support multiple inheritances?
Can you convert php to html?