Mark As Completed Discussion

#1 - Echo and Print

Echo

PHP echo is used to output strings and variables to the console. It is a language construct, not a function. Echo prints strings, escaping characters, multi-line strings, and variables. Here’s the syntax of echo.

echo(string ...$expressions): void

The echo statement opens with or without parenthesis, depending on the number of arguments. It doesn’t return a value and is faster than the print statement.

Source

https://www.php.net/manual/en/function.echo.php

PHP
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment