Home > php教程 > php手册 > body text

php文件是什么 php文件怎么打开

WBOY
Release: 2016-06-13 10:16:10
Original
1429 people have browsed it

有朋友问我打开php文件的软件呢,下面我来给大家详细介绍人php文件是什么文件以及怎么打开php文件吧,有需要了解的朋友可参考.

什么是php文件

PHP,是英文超文本预处理语言Hypertext Preprocessor的缩写。PHP 是一种 HTML 内嵌式的语言,是一种在服务器端执行的嵌入HTML文档的脚本语言,语言的风格有类似于C语言,被广泛地运用。

一段php代码

 代码如下 复制代码

namespace Math
{
class Complex
{
//...code...
function __construct()
{
print("hey");
}
}
}
$m = new Math::Complex();
?>

php文件用什么打开

php文件打开软件有很多很多,只要是编辑软件都可以用一打开php文件哦,如:记事本,DW,fontpage等等都可以打开

php怎么运行

php是超文本预处理语言,我们需要php支持环境才行,如:apache+php环境或是iis+php环境都可以运行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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!