Home  >  Article  >  类库下载  >  PHP code identification

PHP code identification

高洛峰
高洛峰Original
2016-10-20 15:04:201361browse

Now let’s get to know the first PHP sentence that every beginner must learn

<?php
    echo &#39;Hello Words&#39;;
?>


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.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:PHP basic syntaxNext article:PHP basic syntax

Related articles

See more