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 / ajay
echo is a statement where print_r,print are the functions
which is prints all the variable result..
If the variable is an Array, then Print_r will prints the
array in details (Array[0]-> " the array values")...
where as the other two(echo and print) only prints as ARRAY().
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How do I get csrf token?
Explain the ternary conditional operator in php?
How variables are passed through arguments?
How does the identity operator === compare two values?
Can we use session in mvc?
Write a statement to show the joining of multiple comparisons in php?
What is the use of inner join in mysql?
Explain soundex() and metaphone().
Write the statements that are used to connect php with mysql
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
How many records can be stored in mysql table?
What are the differences between echo and print?
What are session variables in php?
How to check an element is exists in array or not in php?
Is rent a variable cost?