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
Name some of the popular frameworks in php.
What is rtrim php?
Explain how to execute a php script using command line.
Is empty in php?
What does the unset() function means?
What is the difference between apache vs niginx?
What does the arrow mean in php?
What is repository in php?
Do you know how to get the ip address of the client?
How can we submit form without a submit button?
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
What is a static variable in php?
What is data structure in php?
How to create an empty array in php?
Why do we need abstract class in php?