什么是PHP编程语言?
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">你<span style="color: black;">是不是</span>想<span style="color: black;">认识</span>PHP编程语言的<span style="color: black;">有些</span>知识背景?<span style="color: black;">倘若</span>需要请继续往下读。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/0799145bdd6249879e3fad6133a5294a~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1729836884&x-signature=2lKQ4CGbnE63FhaHGiToX3cv0%2FQ%3D" style="width: 50%; margin-bottom: 20px;"></div>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">PHP起源概述</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">PHP是一种通用脚本语言,在后端Web<span style="color: black;">研发</span>中最常用,还<span style="color: black;">能够</span><span style="color: black;">经过</span>CLI(命令行界面)<span style="color: black;">运用</span>它,有时<span style="color: black;">乃至</span><span style="color: black;">能够</span>将其打包成可执行文件。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">1994年,Rasmus Lerdorf创建了PHP,PHP最初只是Lerdorf的个人尝试,将HTML表单连接到其主页的数据库,他<span style="color: black;">运用</span>C并将其<span style="color: black;">叫作</span>为“个人主页/表单解释器PHP / FI”。PHP / FI将对简单的动态网站进行编码。当他想加快报告的错误数量时,他在Usenet上宣布,他将于1995年6月8日发布PHP / FI<span style="color: black;">做为</span>PHP工具,此版本<span style="color: black;">包括</span>了当今仍在<span style="color: black;">运用</span>的某些PHP功能,其中<span style="color: black;">包含</span>PHP的HTML和表单处理实现。</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">Facebook<span style="color: black;">运用</span>PHP经历</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Facebook是一家大<span style="color: black;">机构</span>,最初<span style="color: black;">运用</span>Zend PHP,在很长一段时间内<span style="color: black;">已然</span><span style="color: black;">研发</span>了多种功能<span style="color: black;">是由于</span>PHP实现。如今,<span style="color: black;">她们</span><span style="color: black;">运用</span>自己的<span style="color: black;">叫作</span>为Hack的PHP版本进行编码,该版本于PHP非常<span style="color: black;">类似</span>,但不是PHP,<span style="color: black;">首要</span>,<span style="color: black;">她们</span><span style="color: black;">研发</span>了HipHop,它将PHP代码转换为C ++代码,<span style="color: black;">而后</span>对其进行编译,从而将服务器负载降低了50%。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">而后</span>在2013年,Facebook停止将HipHop用于HHVM(HipHop虚拟机)。HHVM将PHP代码转换为高级字节码,<span style="color: black;">而后</span>,它<span style="color: black;">经过</span>实时(JIT)编译器在运行时将字节码动态转换为x86-64<span style="color: black;">设备</span>代码,<span style="color: black;">这般</span>最多可将性能<span style="color: black;">加强</span>6倍,<span style="color: black;">然则</span>,<span style="color: black;">因为</span>7.2版Zend的性能优于HHVM,<span style="color: black;">因此呢</span>HHVM 3.24是最后一个正式支持PHP的版本。</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">命令行中的PHP</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">你<span style="color: black;">能够</span>像Python和Java<span style="color: black;">这般</span>编写简单的命令行程序!</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">能够</span><span style="color: black;">运用</span>PHP制作桌面应用程序!</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">我<span style="color: black;">晓得</span>有两个<span style="color: black;">这般</span>的PHP扩展,例如PHP-GTK和PHP Desktop(由Czarek Tomczak<span style="color: black;">供给</span>)。</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">运用</span>PHP的热门<span style="color: black;">机构</span></h3>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">脸书</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">Facebook在<span style="color: black;">初期</span>版本中<span style="color: black;">运用</span>Zend PHP,<span style="color: black;">此刻</span>仍然<span style="color: black;">运用</span>修改后的版本。</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">Youtube</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">当Youtube<span style="color: black;">起始</span>创立初期用PHP编码的,<span style="color: black;">然则</span>后来<span style="color: black;">研发</span>人员<span style="color: black;">选取</span>了<span style="color: black;">运用</span>Python<span style="color: black;">做为</span>首选。</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">维基百科</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">举世闻名的开源百科全书是用PHP编写的,但改用了Facebook的HVVM以使网站更快</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">WordPress</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">日前</span>70%以上的博客的CMS<span style="color: black;">运用</span>WordPress。</p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;">总结</h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">博客系统,企业网站,个人网站,展示型网站,内容性网站,简单购物网站的web<span style="color: black;">研发</span>首选PHP,你<span style="color: black;">能够</span>快速完成你的网站<span style="color: black;">需要</span>的内容。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"></p>
“BS”(鄙视的缩写)
页:
[1]