PHP echo and print
With PHP, there are two basic ways to output data to the screen: echo and print.
The differences are small:
echo has no return value, while print has a return value of 1 so it can be used in expressions
echo can take multiple parameters, while print can take only one argument
echo is marginally faster than print
echo "
PHP is Fun!
";
echo "Hello world!
";
echo "I'm about to learn PHP!
";
echo "This ", "string ", "was ", "made ", "with multiple parameters."
;
PHP is Fun!
Hello world!
I'm about to learn PHP!
This string was made with multiple parameters.
https://realpython/html-css-python
notes -- reviewed and read in the morning of Feb 20th