- PHP Syntax.
- PHP Comments.
- PHP Syntax :-
- PHP starts with
- PHP statements end with a semicolon (;).
- Every PHP file must have .php extension
2 . PHP Comments.
There are two types of comments:
1. Single Comment:-
# Single line comment
// Single line comment
2. Multi-line comments :-
/*
This is multi-line comments
block
*/