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
When is a conditional statement ended with endif?
What is the function used to change the root directory in PHP?
Steps for the payment gateway processing?
Tell me how can we determine whether a variable is set?
What is factory pattern in php?
How can we determine whether a php variable is an instantiated object of a certain class?
What is difference between session and cookies in php?
What are the types of variables in php?
Will php die?
How to take a substring from a given string in php?
Explain a resource?
Which will check if a function exists?
What is the use of die in php?
Explain the importance of the function htmlentities.
How to call javascript function in php without any event?