What is a PHP file? How can I open a PHP file?

Source: Internet
Author: User

A friend asked me about the software used to open the PHP file. I will introduce to you in detail what file PHP file is and how to open the PHP file. For more information, see.

What is a PHP file?

PHP is short for Hypertext Preprocessor. PHP is an embedded HTML language. It is a scripting language that executes HTML documents embedded on the server. It is widely used in a style similar to C language.

A piece of php code

The Code is as follows: Copy code

<? Php
Namespace Math
{
Class Complex
{
//... Code...
Function _ construct ()
{
Print ("hey ");
}
}
}
$ M = new Math: Complex ();
?>

PHP file opening

There are a lot of PHP file opening software, as long as the editing software can open the PHP file with one, such as Notepad, DW, fontpage and so on.

How to run php

Php is a hyper-text preprocessing language. We need php to support the environment, such as apache + php or iis + php.

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.