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)
- Apache Lucene Query Example - April 8, 2024
- Google Cloud: Step by Step Tutorials for setting up Multi-cluster Ingress (MCI) - April 7, 2024
- What is Multi-cluster Ingress (MCI) - April 7, 2024