What is difference between echo and print_r in php?
Answer / Vijay Saxena
echo is a language construct for outputting one or more strings, while print_r outputs the variable type and value. echo does not return any value, whereas print_r returns a string.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it more secure to use cookies to transfer session ids?
what is the default method of form in php?
What is a substring in php?
What are new features in php 7?
What is a persistence cookie?
What are hooks in php?
Explain about PHP cookies?
What is the special meaning of __sleep and __wakeup?
how to get the value in script values
Is empty java?
Php code to find whether a number armstrong or not?
What are the different ways to login to a remote server?