Ready to work:
Install wamp, configure the site: apache2.4.9\conf\httpd.conf
Precautions:
1. There must be a semicolon
2. Do not have meaningless blank lines, it will be output in the form of spaces.
3. Variables, keywords (if, for..), constants are case-insensitive, and function names are sensitive.
1. Output:
Echo $aaa; //Commonly used
Var_dump($aaa); //Commonly used. data type data content (data length)
Print($aaa);
Print_f($aaa)
Printf($aaa)
2. Syntax format:
Commonly used:
<?php
echo ‘aaa’;
?>