PHP stands for "Hypertext Preprocessor", it is a server scripting language.What Can PHP do?
PHP can generate dynamic page content
PHP can create, open, read, write, delete, and close files on the server
PHP can collect form data
PHP function echo () definition and usage analysis. Output one or more strings when using the definition and usage PHP function echo. The description of the echo (strings) parameter is required. One or more strings to be sent to the output. Prompt
Most of the time, we use echo. When using PHP for code editing, one or more strings are output normally, and the PHP function echo () is used (). The following describes how to use the PHP function echo.
Definition and usage
The PHP function echo ()
Php echo, print, print_r, printf, sprintf, var_dump usage introduction. This article introduces echo, print, print_r, printf, sprintf, and var_dump. For more information, see. I. definition and usage of echo: The PHPecho () function outputs one or
Copy codeThe Code is as follows:Echo "asd"; // stringEcho "ads $ c"; // string + variableEcho 'ads $ C'; // string asd $ c is not a variableEcho "sd". "";Echo "sd", "";Echo $;Echo $ a. $ B;Echo $ a, $ B;Echo $ a. $ B. $ c;Echo $ a, $ B, $ c;Echo
In useDefinition and usage
The PHP function echo () Outputs one or more strings.
Syntax
Echo (strings)
Parameter description
Strings is required. One or more strings to be sent to the output.
Tips and comments
Note: echo () is actually not a
This article introduces echo, print, print_r, printf, sprintf, and var_dump. For more information, see. 1. define echo and use the PHPecho () function to output one or more string methods.
This article introduces echo, print, print_r, printf,
Ziadoz a list of PHP resources that are maintained on GitHub, including libraries, frameworks, templates, security, code Analysis, logs, third-party libraries, configuration tools, Web tools, books, ebooks, classic blogs, and more. Bó Lè has
Dependency ManagementDependency and Package Management Library
Composer/packagist: A package and dependency manager
Composer Installers: A multi-frame Composer Library Installer
Pickle: a php extension installer
Other
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.