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
How do I check environment variables?
Difference between get and post method.
Explain me what are the main error types in php and how do they differ?
Php program to generate fibonacci series?
Explain about switch statement in PHP?
How stop the execution of a php scrip?
Is array a key php?
Define about declare construct?
What is use of preg_replace in php?
How to change the principal password?
What is the use of "echo" in php?
How to redirect a url from http to https in .htaccess?
What is different types of visibility?
Which methods should be used for sending an email using the variables $to, $subject, and $body?
What is csrf validation?