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 is a controller php?
How to create a session? How to set a value in session?
Why do we need abstract class in php?
How to read a file in binary mode?
How to get the position of the character in a string in php?
Which is better php praogramming or cad/cam scope wise and also salaray wise?
Tell me how would you declare a function that receives one parameter name hello?
What is xss and csrf?
What are the differences between require and include?
Distinguish between urlencode and urldecode?
How many different types of messages available in php?
What is the use of session and cookies in php?
Which are the best start and end tags to use?
Can you define an argument as a reference type?
What is get method in java?