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 do I find environment variables?
Swap two variables value without using third variable in php ?
Can we use get instead of post?
What is a php object?
What is mysql in php?
How do you parse and process html/xml in php?
Explain the advantages of using PHP?
What is the scope of a variable defined in a function?
Is php 7 backwards compatible?
Why did you choose this particular career path?
What does $_cookie mean?
How do I stop a php script?
How to merge values of two arrays into a single array?
How to break a file path name into parts?
How to access a specific character in a string?