Answer Posted / amit kumar gaur
echo is the primitive of them and just output the content,
you can pass the multiple parameter.
<? php echo 'Welcome','to','india';?>
print is a construct(parentheses are optional)but it return
true and false,print does not the miultiple parameters.
printf is a function not a construct and allow advantage
formatted output.
echo is faster than others.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Explain about the $_GET variable of PHP?
What is the difference between array_map () and array_shift ()?
What are php keywords?
Does exist in php?
What is the advantage of runtime polymorphism?
How to convert numbers to strings in php?
What is the use of 'print' in php?
What is the purpose of constant() function?
What is $_ get?
How check variable is set or not in php?
What is use of echo in php?
What is Apache's configuration file typically called?
Explain soundex() and metaphone().
Does php 7 support mysql?
What is the use of explode() function?