#一, PHP variable definition: Variables are used to store values, such as numbers, text strings or arrays, V: string/integer/double/array/object
Naming rules:
1. The variable name of PHP is case-sensitive. 2. The variable name must begin with $3,
Analysis of variable reference and variable destruction mechanism in PHP, PHP destruction
This paper analyzes the variable reference and the mechanism of variable destruction in PHP. Share to everyone for your reference. The specific analysis is as
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
Common PHP variable output: echo, prinf, sprintf, var_dump,
1. use the echo statement Echo can be used to print variables and content. other variables can be system variables, HTML code, or PHP expressions, as shown in the following example:$ A = "1
Php variables are described in detail. Php variables are used to store information. syntax for defining a variable: $ variable name value. example of using a variable :? Php $ x5; $ y6; $ z $ x + $ y; echo $ z ;? Php variables
A variable is a
In this paper, we analyze the mechanism of variable reference and variable destruction in PHP. Share to everyone for your reference. The specific analysis is as follows:
Variable is a very important type in PHP, we have data through variables or
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
In PHP, the symbol "&" represents a reference. 1, see what does not refer to this: $a = "Hello world";//define a variable, the following assignment to $b $b = $a;//This step does not precede $a with a symbol Like this "$b = & $a". No Plus, in
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.