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
Is php an api?
Which is used to maintain the value of a variable over different pages?
When are you supposed to use endif to end the conditional statement?
Explain the changes in php versions?
What is final class and final method in php?
What are the 5 types of variables?
What is the use of mysql_fetch_array in php?
What is the advantage of runtime polymorphism?
Which is faster for or foreach php?
What is self in php?
Tell me what does the initials of php stand for?
What is php and its advantages?
What are the benefits of composer?
What does $_server means?
Can the value of a constant change during the script's execution?