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
What is trim function in php?
discuss the issue of software theft in ghana and how it has affected the economy
Explain Type juggling?
Name some of the functions in php.
What is symfony php?
What is static method php?
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
What is the role of php.ini file?
How to parse configuration file in php?
How to check a variable is array or not in php?
Why php language is used?
What is framework in php for beginners?
Hi this is amul jani here, i complied my graduation in B.com stream.. but as career i looking for PHP language.. to get shape my career. so is that possible to enter in IT world.. for me how much scope of develop my career in this field.. amul jani
How does php work?
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?