Standard tags include: start tag: ``. Short tags: start tag: ``, end tag: `?>`. Short form: start tag: `=`, no end tag, used to concisely output variable values. It is recommended to use the standard tags `` to ensure code portability and readability.
In PHP, there are various forms of start tags and end tags that can be used to identify PHP code blocks. Common start tags and end tags include:
End tag:?>
Start tag: =
No end tag, used to concisely output the value of the variable.
In the latest version of PHP, the standard opening tag
In general, it is recommended to use the standard end tag when writing PHP code to ensure the portability and readability of the code.
The above is the detailed content of What are the opening tags and closing tags of php. For more information, please follow other related articles on the PHP Chinese website!