Home > Article > Backend Development > What does echo mean in Chinese?
What does echo mean in Chinese?
echo means "reverberation" in Chinese.
In the PHP language: the echo() function outputs one or more strings.
Syntax:
echo(strings)
Parameters: strings (required); one or more strings to send to the output.
*Tips: echo() function is slightly faster than print().
*Tip: The echo() function also has a shorthand syntax. Prior to PHP 5.4.0, this syntax only worked if the short_open_tag configuration setting was enabled.
Example one:
<?php $str = "Hello world!"; echo $str; ?>
Example two:
<?php $str = "Hello world!"; echo $str; echo "<br>What a nice day!"; ?>
Recommended tutorial: "PHP Tutorial"
The above is the detailed content of What does echo mean in Chinese?. For more information, please follow other related articles on the PHP Chinese website!