Echo Statement:-
The echo statement is used to output in display with or without parenthesis echo or echo() but no return value. Echo Statement faster than print Statement.
ex:-
Print Statement:-
Print Statement is used as Echo Statement but the print statement has a return value of 1. Print Statement not as fast as the Echo Statement.
ex:-
Print_r function in PHP:-
Print_r function is used to display or print information, which is readable by humans.
ex:-
PHP Fundamental Tutorials with Basic Demo by Chentan in 2020 – Part-1
PHP Fundamental Tutorials with Basic Demo by Chentan in 2020 – Part-2
Latest posts by Rajesh Kumar (see all)
- Laravel breeze vs laravel fortify comparison - December 17, 2024
- How to Choose Wireless Access Points for Office - December 13, 2024
- Online Real Estate Courses: Navigating the Shift to Digital Education - December 13, 2024