What is the difference between echo print print_r and var_dump?
Answer / Soma Anchal
echo prints a string, while print can print a variable. Both are PHP functions to output data. print_r displays an array or object in readable format. var_dump outputs both the type and the value of a variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you mean by horizon in laravel 5?
How to install laravel by composer?
How do I test sending emails without actually sending emails to real addresses?
How to use custom table in laravel modal?
What are the advantages of queue?
How to enable or disable maintaince mode in laravel.
Explain how to register a service provider via composer in laravel?
What is laravel framework?
Tell me what is the purpose of using dd() function iin laravel?
What is the service container in laravel?
What is queues?
What is routing in laravel?