Home > 类库下载 > PHP类库 > body text

PHP code identification

高洛峰
Release: 2016-10-20 15:04:20
Original
1372 people have browsed it

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

<?php
    echo &#39;Hello Words&#39;;
?>
Copy after login


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.


Related labels:
php
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template