Now let’s get to know the first PHP sentence that every beginner must learn
<?php echo 'Hello Words'; ?>
It’s as simple as this. You can ask every PHPer what the first output sentence they learned is Some of them are "hello words", but of course there are also special ones.
ends with , and each line of statements is followed by an English semicolon ";" as the end mark.
Generally, PHP language is saved in a file with .php extension. Of course, after all, PHP is an embedded language, so it can also be embedded in other files with .html extension, but the writing method is still the same as Same as above example.
If it is some other frameworks, they will customize the parsing of PHP start and end identifiers.