 PHP syntax and semantics

The PHP syntax and semantics are the format (syntax) and
the related meanings (semantics) of the text and symbols in the PHP programming language.They form a set of rules that define how a PHP program can be written and interpreted.