PHP file parsing and opening PHP file methods

Source: Internet
Author: User
Tags php language what php ultraedit
In peacetime we may encounter PHP files, but many users do not know what PHP file is? Don't know how to open a php file? In order to satisfy the curiosity of some users, the small part will now explain PHP files and how to open php file method.

1. What is a php file?

PHP (hypertext Preprocessor) hypertext preprocessor, is a server-side execution of embedded HTML document scripting language, language style has a similar to the C language, is widely used in the development of the Internet, learning more easily!

PHP syntax is a mix of C, Java, Perl, and PHP self-created syntax. (You can see PHP versus Java comparison) PHP execution efficiency is very high; PHP can also execute post-compilation code that compiles to encrypt and optimize code runs, making the code run faster. PHP is extremely powerful, can be compatible with all databases, but also can be used in C, C + + program extension! At present, many excellent products of the Internet are the masterpieces of PHP, including Facebook, Sina, Yahoo, Sohu, MSN and so on, 394 of the world's top 500 are using PHP technology, According to statistics, more than 70% of the global traffic is from the PHP language!

2. How to open php file?

If you just, want to open to see the source code, the simplest with Notepad are OK, notepad++, Phpedit, UltraEdit, Dreamwere, vim editor and so on can open.

First find a PHP file, as shown in.

1) Open with Notepad

① the mouse right-click on the php file, select "Open (O)" in the pop-up list, as shown in.

② Select Notepad in the option to open the mode.

③ then you can see the PHP code in Notepad, as shown in.

2) Open with notepad++

① the mouse php file, select "notepad++" in the list that appears, as shown in.

② can then see the PHP code opened in notepad++ as shown, you can see that the PHP code shows a different color, this is the Gao Xianliang notepad++ comes with.

3) Open with UltraEdit

Open with UltraEdit, you can see the code shows the Gao Xianliang is not the same, different editor display Gao Xianliang different, you can adjust their own.

3. How to run PHP files?

PHP language is the background scripting language, unlike Html,js directly run, want to run PHP files, must have PHP environment, PHP environment installation is relatively simple, there are many tutorials on the web. PHP is a very good language, it is recommended that you can learn.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.