A friend asked me about the software for opening php files. Let me introduce to you in detail what a php file is and how to open a php file. Friends who need to know more can refer to it.
What is a php file
PHP is the abbreviation of the English hypertext preprocessing language Hypertext Preprocessor. PHP is an HTML embedded language. It is a scripting language that is embedded in HTML documents and is executed on the server side. The language style is similar to C language and is widely used.
A piece of php code
The code is as follows
代码如下 |
复制代码 |
namespace Math
{
class Complex
{
//...code...
function __construct()
{
print("hey");
}
}
}
$m = new Math::Complex();
?>
|
|
Copy code
namespace Math
{
class Complex
{
//...code...
function __construct()
{
print("hey");
}
}
}
$m = new Math::Complex();
?>
How to open php files
There are many software to open PHP files. As long as it is an editing software, you can open PHP files, such as: Notepad, DW, fontpage, etc. |
|
How to run php
php is a hypertext preprocessing language. We need a php supporting environment. For example, an apache+php environment or an iis+php environment can run php.
http://www.bkjia.com/PHPjc/628883.htmlwww.bkjia.comtrue
http: //www.bkjia.com/PHPjc/628883.htmlA friend asked me about the software to open php files. Let me introduce to you in detail what a php file is. And how to open the php file, friends who need to know can refer to it. What is...