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
What is the difference between query and question?
How can we automatically escape incoming data?
Are php variables global?
What type of headers that PHP supports?
Is age interval or ordinal data?
Write down the code for save an uploaded file using php?
What is the use of addslashes in php?
What is php simple definition?
What is php oop?
Which is better get or post method?
What exactly is validating and sanitizing?
What is the use of die in php?
What does $_server means?
What is php full form?
Tell me can the value of a constant change during the script's execution?