For printing out strings, there are echo, print and printf.
Explain the differences.
Answer Posted / hardik
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 and printf
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to return a value back to the function caller?
Do while loops php?
What is the apache?
What is php pathinfo?
Is a number php?
How check submit button is clicked in php?
What is meant by public, private, protected, static and final scopes?
how to track user logged out or not? when a user is idle?
Tell me will a comparison of an integer 12 and a string "13" work in php?
Could we start a variable with number like $4name?
Tell me what is the use of mysql_real_escape_string() function?
What is printf in php?
How to call a php function from html button?
What is $_ request?
What does sign mean php?