Difference among echo, print and printf.
Answer / 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 |
What is the difference between characters 34 and x34?
What is split function in php?
How do you identify independent and dependent variables in regression analysis?
Can you use php and javascript together?
Is there any way to call a JAVASCRIPT function in PHP in AJAX
What is orm in php framework?
is php is the best for this situation
What is self in php?
What is meant by pdo in php?
Which php framework is fastest?
What is purpose of @ in Php?
What is an operator in php?