1.What are the difference between echo , print , print_r ?
else this 3 can we show output to a client in some other
way?
Answer Posted / haranath reddy
Echo is a statement used to diplay the data where as print
and print_r are the functions which can perform
tasks.print_r can perform the rotaions in a loop like for
statement.
Pirnt_r Especially used for structures like arrays and
classes.
| Is This Answer Correct ? | 13 Yes | 6 No |
Post New Answer View All Answers
What are the design patterns in php?
What is the difference between runtime exception and compile time exception?
Explain mysql_error().
Which parts of php are case sensitive?
What is csrf token and how it works?
what are interfaces and Abstart classes
How is session id stored in browser?
What is the difference between php and cakephp?
List some string function name in php?
How many types of array supported in php?
Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?
How long will it take to learn php?
How to read a file in binary mode?
When do sessions end?
Is it possible to extend the execution time of a php script?