
Create a new 352.php, as shown in the figure:

##Add the delimiter of php (

Related recommendations: "
php tutorial"
Files that declare the interaction between PHP and the browser Type and encoding, as shown in the picture:

Modify the syntax of the variable, as shown in the picture:

give The $a variable is reassigned to modify the value of the variable, as shown in the figure:

Run the web page, output the result of the code implementation on the browser, and check whether the variable exists is modified, as shown in the picture:

The above is the detailed content of PHP tutorial how to modify the value of a variable. For more information, please follow other related articles on the PHP Chinese website!