Home >Backend Development >PHP Problem >Default file extension for php files

Default file extension for php files

王林
王林Original
2019-10-19 09:20:545489browse

Default file extension for php files

#The default file extension of PHP files is .php, which is a naming format for a programming language.

What is a PHP file?

PHP (Hypertext Preprocessor) hypertext preprocessor is a script that is executed on the server side and embedded in an HTML document. Language, the style of the language is similar to C language, which is widely used in Internet development, and it is easier to learn!

PHP syntax mixes C, java, Perl and PHP's own syntax. (You can see the comparison between PHP and Java) The execution efficiency of PHP is extremely high; PHP can also execute compiled code. Compilation can achieve encryption and optimize code running, making the code run faster.

php is extremely powerful and can be compatible with all databases. You can also use C and C to expand the program! Many excellent products on the Internet are masterpieces of php, including facebook, Sina, Yahoo, Sohu, and msn Wait, 394 of the world's top 500 companies use PHP technology. According to statistics, more than 70% of the world's traffic comes from the PHP language!

Recommended tutorial: PHP video tutorial

The above is the detailed content of Default file extension for php files. For more information, please follow other related articles on the PHP Chinese website!

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